You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/09/13 10:16:40 UTC

[GitHub] [kafka] msillence opened a new pull request #11322: smt to rename schemas based on regex

msillence opened a new pull request #11322:
URL: https://github.com/apache/kafka/pull/11322


   smt to rename schemas based on regex
   
   example configuration:
   
   ```
       "transforms.regexSchema.regex": ".*\\.([^.]*)\\.(Value|Key)",
       "transforms.regexSchema.replacement": "com.company.schema.$1.$2",
   ```
   
   We need this as our debezium connector creates schemas with the name of the host and database schema 
   When we move from dev to production these names change
   Using Avro the the name in the schema is used to pick the class and thus will fail when we move between environmnets


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kafka] mimaison commented on pull request #11322: smt to rename schemas based on regex

Posted by GitBox <gi...@apache.org>.
mimaison commented on pull request #11322:
URL: https://github.com/apache/kafka/pull/11322#issuecomment-945507100


   Thanks @msillence for this PR.
   
   As this is adding a new SMT, you need to submit a [KIP](https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Improvement+Proposals).
   
   Let me know if you have any questions or need help with the KIP process.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org