dajac commented on PR #15652: URL: https://github.com/apache/kafka/pull/15652#issuecomment-2090789895
@chia7712 I updated the PR with a different approach. I now print the records using the json converters. This allow me to post process the group metadata record to deserialize the subscription and the assignment as it was before. It looks as follow: ``` baseOffset: 1 lastOffset: 1 count: 1 baseSequence: 0 lastSequence: 0 producerId: -1 producerEpoch: -1 partitionLeaderEpoch: 0 isTransactional: false isControl: false deleteHorizonMs: OptionalLong.empty position: 99 CreateTime: 1714661210539 size: 346 magic: 2 compresscodec: none crc: 2173539573 isvalid: true | offset: 1 CreateTime: 1714661210539 keySize: 7 valueSize: 269 sequence: 0 headerKeys: [] key: {"type":"2","data":{"group":"foo"}} payload: {"version":"3","data":{"protocolType":"consumer","generation":1,"protocol":"range","leader":"console-consumer-8fe09633-19c4-4894-ad9d-e26637e2e71f","currentStateTimestamp":1714661210525,"members":[{"memberId":"console-consumer-8fe09633-19c4-4894-ad9d-e26637e2e71f","groupInstanceId":null,"clientId":"console-consumer","clientHost":"/127.0.0.1","rebalanceTimeout":300000,"sessionTimeout":45000,"subscription":{"topics":["quickstart-events"],"userData":null,"ownedPartitions":[],"generationId":-1,"rackId":null},"assignment":{"assignedPartitions":[{"topic":"quickstart-events","partitions":[0]}],"userData":null}}]}} ``` Please take a look and let me know what you think. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org