[ 
https://issues.apache.org/jira/browse/KAFKA-13497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17479029#comment-17479029
 ] 

Jordan Moore commented on KAFKA-13497:
--------------------------------------

While extra logging would be useful, creating a Matcher and calling 
replaceFirst with the transform value against the topic name itself is easy to 
debug outside of Connect

> Debug Log RegexRouter transform
> -------------------------------
>
>                 Key: KAFKA-13497
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13497
>             Project: Kafka
>          Issue Type: Improvement
>          Components: KafkaConnect
>            Reporter: Spencer Carlson
>            Priority: Minor
>
> It is hard to troubleshoot regex transformations without knowing exactly what 
> the new topic transformation is.
>  
> Can we add a debug log in the 
> [RegexRouter.java#L59|https://github.com/apache/kafka/blob/99b9b3e84f4e98c3f07714e1de6a139a004cbc5b/connect/transforms/src/main/java/org/apache/kafka/connect/transforms/RegexRouter.java#L59]
>  to print out the transformed topic



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to