soarez commented on code in PR #12752:
URL: https://github.com/apache/kafka/pull/12752#discussion_r998077249
##########
core/src/test/scala/unit/kafka/server/ProduceRequestTest.scala:
##########
@@ -246,6 +248,18 @@ class ProduceRequestTest extends BaseRequestTest {
assertEquals(Errors.UNSUPPORTED_COMPRESSION_TYPE,
Errors.forCode(partitionProduceResponse2.errorCode))
}
+ @Test
+ @Timeout(value = 3, unit = TimeUnit.SECONDS)
+ def testSendWithBatchSizeZeroAndNoRecordKey(): Unit = {
Review Comment:
Agreed, that's a much better place for it, thanks for the suggestion Luke.
I've moved the test.
--
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]