You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "OmniaGM (via GitHub)" <gi...@apache.org> on 2023/05/16 22:46:36 UTC

[GitHub] [kafka] OmniaGM commented on pull request #11220: KAFKA-10777: Add additional configuration to control MirrorMaker 2 internal topics naming convention

OmniaGM commented on PR #11220:
URL: https://github.com/apache/kafka/pull/11220#issuecomment-1550453763

   > Hello, I know this PR is merged but I have an issue related to it while implementing a custom ReplicationPolicy to override the `heartbeat` topic name. According to the resources below, In order to achieve it, It's necessary to create a jar file and to reference it in the `plugin.path` properties file. Unfortunately it didn't work. What worked was setting the jar file path in the `CLASSPATH` environment variable. So either such config is missing in the documentation or I am doing something wrong in which case I would be thankful if you point it out. Resources : https://cwiki.apache.org/confluence/display/KAFKA/KIP-690%3A+Add+additional+configuration+to+control+MirrorMaker+2+internal+topics+naming+convention https://stackoverflow.com/questions/59390555/is-it-possible-to-replicate-kafka-topics-without-alias-prefix-with-mirrormaker2 I will be more than happy to provide more context.
   
   Hi @ahibot , 
   The issue you are facing was reported back in 2020 against Kafka 2.4 (details [here](https://issues.apache.org/jira/browse/KAFKA-9376) and @ryannedolan mentioned that he couldn't reproduce the same issue at the time.  So I don't believe this issue you are describing is related to this PR and KIP-690 which was released in Kafa 3.1. 
   
   However, I can see that the comments on [KAFKA-9376](https://issues.apache.org/jira/browse/KAFKA-9376) suggest `CLASSPATH` as a workaround and there is even a comment mentioning that they can't see this issue with 2.5 anymore. So if you are running version >= 2.5 then I would recommend commenting on [KAFKA-9376](https://issues.apache.org/jira/browse/KAFKA-9376) with more details regarding how to reproduce this issue and which version you are using.


-- 
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