Question: Using the tool where topics may have periods in them
Opened this issue · 1 comments
We have a use case where some of our topics are defined with periods in them. Potentially not a good practice but that is the case none the less.
For running commands such as the following:
kafka-consumer-manager --cluster-type test --cluster-name my_cluster offset_set my_group topic1.0.38531
This poses as a problem due to the way the syntax is setup for the command line usage.
Can you recommend a work-around potentially for this or would you be open to a patch that allows topics with periods to be used somehow?
Thanks for the help in advance!
I'm not sure about the problem here. We do rsplit looking for the first "." in the topic name starting from the right that delimits the topic name. In your case if the topic name is "topic1.0.38531" to set offsets for partition 0 you should be able to do something like:
kafka-consumer-manager --cluster-type test --cluster-name my_cluster offset_set my_group topic1.0.38531.0=12345
Is this not working?