> You cannot commit partitions that are not assigned to you. Don't we have to continue supporting clients that assign() themselves partitions manually? I don't think the broker is aware of manual assignments.
Thanks, Sean On Mon, Feb 16, 2026 at 2:17 AM Chia-Ping Tsai <[email protected]> wrote: > > You cannot commit partitions that are not assigned to you. > > Thanks for the clarification. That sounds good to me, but this new > protection implies a change to the existing behavior. Therefore, it would > be good to explicitly mention this in the KIP > > For example, the following sendOffsetsToTransaction can succeed today, but > will fail after this KIP. > > ```java > consumer.subscribe(List.of("chia")); > ... > producer.sendOffsetsToTransaction(Map.of( > new TopicPartition("chia", 0), new OffsetAndMetadata(100), > new TopicPartition("ikea", 0), new OffsetAndMetadata(100)), // not > assigned partitions > consumer.groupMetadata()); > ``` > > Best, > Chia-Ping >
