jolshan commented on code in PR #18316:
URL: https://github.com/apache/kafka/pull/18316#discussion_r1897014037
##########
clients/src/main/resources/common/message/InitProducerIdResponse.json:
##########
@@ -36,6 +38,10 @@
{ "name": "ProducerId", "type": "int64", "versions": "0+", "entityType":
"producerId",
"default": -1, "about": "The current producer id." },
{ "name": "ProducerEpoch", "type": "int16", "versions": "0+",
- "about": "The current epoch associated with the producer id." }
+ "about": "The current epoch associated with the producer id." },
+ { "name": "OngoingTxnProducerId", "type": "int64", "versions": "6+",
"entityType": "producerId",
+ "default": -1, "about": "The producer id for ongoing transaction when
KeepPreparedTxn is used, -1 if there is no transaction ongoing." },
+ { "name": "OngoingTxnProducerEpoch", "type": "int16", "versions": "6+",
Review Comment:
Did we want to explicitly set the default to -1 for both?
--
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]