mjsax commented on code in PR #23803: URL: https://github.com/apache/kafka/pull/23803#discussion_r4688967734
########## docs/streams/upgrade-guide.md: ########## @@ -73,6 +73,8 @@ Upgraded RocksDB dependency to version 10.10.1(from 10.1.3). RocksDB deleted `ma Transactional RocksDB stores now build their write batch at commit, not on each write. The commit of a store needs extra memory up to the size of the uncommitted data of that store. To stay within `statestore.uncommitted.max.bytes`, a thread now commits early when its uncommitted bytes plus the uncommitted bytes of its largest store exceed its share of the limit. Applications with more than one transactional RocksDB store can therefore buffer more data before an early commit than in 4.4. Applications with only in-memory stores commit early after less data than in 4.4. +For applications using the Streams Rebalance Protocol (`group.protocol=streams`), the broker has a second built-in task assignor, `spread` ([KAFKA-21194](https://issues.apache.org/jira/browse/KAFKA-21194)). It spreads the tasks of each subtopology across processes, so that losing one process stops only part of each subtopology, at the price of moving more tasks than the `sticky` assignor when the group membership changes; it is the counterpart of the `HighAvailabilityTaskAssignor` of the classic protocol, without warmup tasks. The default value of `group.streams.assignors` is now `sticky,spread`, so a group can select it without broker configuration, for example `kafka-configs.sh --alter --entity-type groups --entity-name my-group --add-config streams.assignor.name=spread`; a broker that sets `group.streams.assignors` must list `spread` to offer it. Groups that do not set `streams.assignor.name` keep using the `sticky` assignor unless `group.streams.assignors` lists another assignor first. Review Comment: > without warmup tasks Same concern as above -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
