-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consumer is not receiving any messages #14
Comments
A topic name cannot contain commas. Here you have made the prefix contain them |
Those are 2 different topic names test is from source and test123 is on consumer side. |
I think you're misinterpreting the arguments then public TopicSwitchingHandler(String topicPrefix) {
this.topicPrefix = topicPrefix;
} Therefore, you're setting |
ok so we need to use test.test123 right? |
Depends on your goal. If you want to rename multiple topics, look at https://github.com/opencore/mirrormaker_topic_rename |
i followed opencore with the arguments--message.handler.args ‘test,test123’ . But i dont see topic test123 receiving messages from test. Is it any issue related to version of kafka..we are using kafka 1.1.0 |
If your source topic name is This project is adding a prefix. The other project is completely renaming a topic. Using the format |
If you look at the example given there, you'd see their source topic does contain an underscore -
Meanwhile, this project does not have an underscore in the topic name, and serves a different purpose
It adds |
JavaSessionize.avro.LogLinec reference unresolved in the code, kindly look into it |
@ashuit87 No it isn't. Use |
We are trying to use the same from code , but consumer topic is not receiving any messages on target side
export CLASSPATH=/Users/sxe518/Documents/test/MirrorMakerHandler/target/TopicSwitchingHandler-1.0-SNAPSHOT.jar
bin/kafka-mirror-maker.sh --consumer.config config/consumer.properties --producer.config config/producer.properties --whitelist test_.* —message.handler com.shapira.examples.TopicSwitchingHandler --message.handler.args ‘test,test123’
MirrorMakerHandler.zip
The text was updated successfully, but these errors were encountered: