lbradstreet commented on a change in pull request #9022:
URL: https://github.com/apache/kafka/pull/9022#discussion_r454641285



##########
File path: 
core/src/test/scala/unit/kafka/admin/TopicCommandWithAdminClientTest.scala
##########
@@ -673,10 +678,14 @@ class TopicCommandWithAdminClientTest extends 
KafkaServerTestHarness with Loggin
       Collections.singletonList(new NewTopic(testTopicName, partitions, 
replicationFactor).configs(configMap))).all().get()
     waitForTopicCreated(testTopicName)
     TestUtils.generateAndProduceMessages(servers, testTopicName, numMessages = 
10, acks = -1)
+    Thread.sleep(10)

Review comment:
       Do we want to leave a comment here to say that we are trying to ensure 
that messages are produced in multiple batches? I do wonder if there's a better 
way to achieve this via a producer setting, e.g. `batch.size`?




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to