Symptoms

I have started the consumption thread of a consumer group, but no subscriptions from the consumer group to the data source topic are displayed on the Subscriptions tab of the Topic Details page or the Consumption Status tab of the Group Details page in the Message Queue for Apache Kafka console.

Causes

  • The configured subscription is not successful because the consumer settings are invalid or a network exception occurs on the consumer.
  • You use the assign mode to manually specify a specific partition to which the consumer subscribes, but you do not commit the consumer offset.

Solutions

  1. Troubleshoot the issues on the consumer. For more information, see Best practices for subscribers.
  2. Troubleshoot the network issues on the consumer. For more information, see The endpoint of the Message Queue for Apache Kafka instance cannot be pinged.
  3. Commit the consumer offset. For more information, see Commit consumer offsets.