Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Class

Type of Group

contain RackId? 

protocoal response contain rackId?

MemberDescription

Consumer Group

✅ 是✅ 

ShareMemberDescription

Share Group

❌ 

✅ 是✅ 

StreamsGroupMemberDescription

Streams Group

✅ 

✅ 是✅ 

Problem Statement


This limitation creates several issues:

...

  • Mark old constructor as @Deprecated immediately
  • Keep it available for at least 2 major releases Remove in Kafka 4.2.0 or laterand then remove them.

Test Plan

We can use follow test to cover the change:

...

  • Behavior with mixed rack configurations
  • Behavior with classic and new protocol groups

Rejected Alternatives

Alternative 1: Create a New API
Proposal: Create describeConsumerGroupsWithRack() method
Rejection Reason:

  • Unnecessary API proliferation
  • The information already exists in the protocol
  • Extending existing API is more intuitive
  • Similar precedent: KIP-345 added groupInstanceId to existing MemberDescription