简体   繁体   中英

number of partitions for global state store in kafka streams

Is global state store in kafka always one partition or we can have multiple partitions for global state store changelog topic?

I am not able to find any clear documentation around this.

Like Matthias J. Sax has written here :

A global store is a read-only materialized view of the data from the corresponding input topic

So it is not like standard Kafka Streams changelog topics. Number of partitions is up to the topic creator and Kafka Broker limitation.

Summarizing it doesn't have to be one partition and can be more.

It is more than one. I think the number of partitions is the maximum number of partitions that any of the input topics has (but I am not quite sure).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM