Reputation: 537
__consumer_offsets store offsets of all kafka topics except internal topics such as *-changelog topics in case of streams. Where is this data stored?
Upvotes: 0
Views: 1945
Reputation: 62350
The term "internal topic" has two different meanings in Kafka:
__consumer_offsets
). A client cannot read/write from/to this topic.However, those -changelog
and -repartition
topics that are "internal" topics from a Kafka Streams point of view, are regular topics from a broker point of view. Hence, offsets for both are stored in __consumer_offsets
like for any other topic.
Note, that Kafka Streams will only commit offsets for -repartition
topics, though. For -changelog
topics no offsets are ever committed (Kafka Streams does some offset tracking on the client side though, and writes -changelog
offsets into a local .checkpoint
file).
Upvotes: 2