fvaleri commented on code in PR #15561:
URL: https://github.com/apache/kafka/pull/15561#discussion_r1533512229


##########
examples/src/main/java/kafka/examples/Consumer.java:
##########
@@ -145,6 +145,7 @@ public KafkaConsumer<Integer, String> createKafkaConsumer() 
{
         }
         // sets the reset offset policy in case of invalid or no offset
         props.put(ConsumerConfig.AUTO_OFFSET_RESET_CONFIG, "earliest");
+        props.put(ConsumerConfig.MAX_POLL_RECORDS_CONFIG, 1);

Review Comment:
   This is a left over from my test. Thanks for spotting.



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

Reply via email to