Confluent Consume

Enterprise only Premium Partner

Consumer group ID per Kong Gateway Consumerv3.15+

Set the Kafka consumer group ID from the authenticated Kong Gateway Consumer’s username. Each Kong Gateway Consumer gets its own Kafka consumer group and independent offset tracking. Because group names match Kong Gateway Consumer usernames, operators can pre-allowlist them in Confluent Cloud ACLs.

If no Consumer is authenticated, the plugin falls back to random mode and logs a warning.

Prerequisites

Environment variables

  • BOOTSTRAP_SERVER_HOST: The bootstrap server host

  • API_KEY: The API key to use for authentication

  • API_SECRET: The API secret to use for authentication

  • KAFKA_TOPIC: The name of the Kafka topic to consume from

Set up the plugin

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!