dengziming commented on a change in pull request #11603:
URL: https://github.com/apache/kafka/pull/11603#discussion_r803264649
##########
File path: shell/src/main/java/org/apache/kafka/shell/MetadataNodeManager.java
##########
@@ -318,6 +320,15 @@ private void handleCommitImpl(MetadataRecordType type,
ApiMessage message)
node.create(record.key()).setContents(record.value() + "");
break;
}
+ case PRODUCER_IDS_RECORD: {
+ ProducerIdsRecord record = (ProducerIdsRecord) message;
+ DirectoryNode producerIdNode = data.root.mkdirs("producerIds");
+ producerIdNode.create("broker").setContents(record.brokerId()
+ "");
Review comment:
Thank you for these suggestions, I think assignedBrokerId and
assignedBrokerEpoch are enough since we don't use JSON format when parsing
other metadata records.
--
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]