0

Does AWS' Managed Streaming for Apach Kafka (MSK) have enable.auto.commit set to true by default? I't not showing up in the docs, and I want to make sure that my consumers are properly committing offsets.

Or does MSK follow the Kafka process cited here where if a consumer sets a ConsumerGroup ID, then MSK automatically sets enable.auto.commit = true by default?

Todd Holmberg
  • 450
  • 1
  • 4
  • 13

2 Answers2

0

enable.auto.commit is a consumer setting, not a cluster setting. The consumer is responsible for directing Kafka to commit its offest to the __consumer_offsets topic.

Todd Holmberg
  • 450
  • 1
  • 4
  • 13
0

The group.id and enable.auto.commit would be set in the same location, in the consumer client, and are not controlled by the server-side, so there is no such "default" in MSK or any other Kafka environment that is controlled outside your code.

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245