junrao commented on code in PR #17437:
URL: https://github.com/apache/kafka/pull/17437#discussion_r1802093811
##########
core/src/main/scala/kafka/server/ReplicaManager.scala:
##########
@@ -1425,7 +1428,8 @@ class ReplicaManager(val config: KafkaConfig,
entriesPerPartition: Map[TopicPartition,
MemoryRecords],
requiredAcks: Short,
requestLocal: RequestLocal,
- verificationGuards: Map[TopicPartition,
VerificationGuard]): Map[TopicPartition, LogAppendResult] = {
+ verificationGuards: Map[TopicPartition,
VerificationGuard]):
+ Map[TopicPartition, (LogAppendResult, Option[Uuid])] = {
Review Comment:
Perhaps we could create a new wrapper class TopicOptionalIdPartition?
--
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]