An Azure real-time data ingestion service.
Welcome to Microsoft Q&A,
Hello @Kumar Sugandh I hope you are doing well.
If the Event Hub has 4 partitions but Kafka reports 0, I recommend checking:
- Verify that the Kafka client is connecting to the correct Event Hubs namespace and Event Hub.
- Confirm that the Event Hub name is being used as the Kafka topic name.
- Verify the SAS connection string and that the policy has the required permissions.
- Check the Kafka client configuration, particularly
bootstrap.servers,security.protocol, andsasl.mechanism. - Enable Kafka DEBUG logging and review the metadata request/response to confirm what the client receives from Event Hubs.
Since you are using the primary SAS connection string, also verify that the EntityPath points to the intended Event Hub.
If the issue persists, please share the Kafka consumer configuration and relevant DEBUG logs, with credentials and connection strings redacted.
References:
If my answer helped you, please consider marking it as accepted. This helps others in the community find similar solutions.