Shekharrajak commented on code in PR #22357:
URL: https://github.com/apache/kafka/pull/22357#discussion_r3430118655
##########
core/src/test/scala/unit/kafka/server/KafkaApisTest.scala:
##########
@@ -459,7 +459,97 @@ class KafkaApisTest extends Logging {
}
@Test
- def testTxnShareAcknowledgeRegistersAllShareStatePartitionsBeforeStaging():
Unit = {
+ def
testTxnShareAcknowledgeRegistersAllMappedShareStatePartitionsBeforeStaging():
Unit = {
+ val transactionalId = "transactional-id"
+ val groupId = "group"
+ val memberId = "member-id"
+ val producerId = 10L
+ val producerEpoch = 2.toShort
+ val topic = "foo"
+ val topicId = Uuid.randomUuid
+ val sourcePartitions = 0 until 10
Review Comment:
multiple source partitions map to the same share-state partition.
--
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]