Unable to read messages from event hub
I have multiple eventhubs in my event hub namespace. I'm unable to read messages from one of the event hub's. I tried using kafka-console-consumer and even tried using a spring cloud streams application, and none of them fetched me any message.
Command that didn't work
kafka-console-consumer.sh --bootstrap-server ns-dummy.servicebus.windows.net:9093 --topic dummy-topic --formatter kafka.tools.DefaultMessageFormatter --property print.key=true --property print.value=true --consumer.config config.properties --from-beginning
Interestingly i'm able to read messages when i'm providing the partition number in the consumer command as given below
kafka-console-consumer.sh --bootstrap-server ns-dummy.servicebus.windows.net:9093 --topic dummy-topic --formatter kafka.tools.DefaultMessageFormatter --property print.key=true --property print.value=true --consumer.config config.properties --from-beginning --partition 0
How do i resolve this issue.