jiafu1115 commented on PR #20691:
URL: https://github.com/apache/kafka/pull/20691#issuecomment-3432495143

   Hi @AndrewJSchofield . The KIP has been accepted, Thanks a lot!
   
   So we can move forward now. I built the client SDK and tested it with the 
following cases today. I think the results meet our expectations. I’m sharing 
them with you!  Thanks!
   
   ### Case 1 
   **kafka 4.1
   client: set the rack and group.protocol=consumer**
   test result:
   [(memberId=9Qlf0K6gSzC1FZ6hcTHxPg, groupInstanceId=null, 
**rackId=us-east-1a**, clientId=consumer-new_consume_group-1, 
host=/10.224.49.116, 
assignment=(topicPartitions=test_topic-2,test_topic-1,test_topic-0), 
targetAssignment=Optional[(topicPartitions=test_topic-2,test_topic-1,test_topic-0)],
 memberEpoch=1, upgraded=true)]
   
   ### Case 2
   **kafka 4.1 
   client: set the rack only**
   test result:
   [(memberId=Lcg5NrPXQrK04J6Txz3E6w, groupInstanceId=null, **rackId=null**, 
clientId=consumer-new_consume_group-1, host=/10.224.49.116, 
assignment=(topicPartitions=test_topic-1,test_topic-0,test_topic-2), 
targetAssignment=Optional.empty, memberEpoch=null, upgraded=null)]
   
   ### Case 3
   **kafka3.9
   client: set the rack**
   test result:
   [(memberId=3dc3-419e-a7ee-f112bfc622ac, groupInstanceId=null, 
**rackId=null**, clientId=5488f769c8-vl97x, host=/10.51.88.67, 
assignment=(topicPartitions=test_topic-0), targetAssignment=Optional.empty, 
memberEpoch=null, upgraded=null), 
   
   ### Case 4
   **kafka 4.1-Share Group
   server: group.share.enable=true
   client: set the rack**
   test result:
   [(memberId=tjq3E3xdQ9S6UB1wIkQL7w, **rackId=us-east-1a**, 
clientId=consumer-new_consume_group_shard-1, host=/10.224.49.116, 
assignment=(topicPartitions=test_topic-1,test_topic-0,test_topic-2), 
memberEpoch=2)]
   
   ### Case 5
   **kafka 4.1-Share Group
   server: group.share.enable=true
   client: no set the rack**
   test result:
   [(memberId=xq-7K6o_SBWao-_E7ER-Gw, **rackId=null**, 
clientId=consumer-new_consume_group_shard2-1, host=/10.224.49.116, 
assignment=(topicPartitions=test_topic-2,test_topic-1,test_topic-0), 
memberEpoch=2)]


-- 
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]

Reply via email to