erikvanoosten commented on code in PR #13678:
URL: https://github.com/apache/kafka/pull/13678#discussion_r1198570974


##########
clients/src/test/java/org/apache/kafka/clients/consumer/internals/ConsumerCoordinatorTest.java:
##########
@@ -600,6 +602,30 @@ public void testCoordinatorNotAvailable() {
         assertTrue(coordinator.coordinatorUnknown());
     }
 
+    @Test
+    public void testSyncCommitWithoutOffsetsAndPendingAsyncCommit() {
+        client.prepareResponse(groupCoordinatorResponse(node, Errors.NONE));
+        coordinator.ensureCoordinatorReady(time.timer(Long.MAX_VALUE));
+
+        TopicPartition tp = new TopicPartition("foo", 0);
+        Map<TopicPartition, OffsetAndMetadata> offsets = singletonMap(tp, new 
OffsetAndMetadata(123));
+
+        final AtomicBoolean committed = new AtomicBoolean();

Review Comment:
   Probably because of this:
   <img width="539" alt="afbeelding" 
src="https://github.com/apache/kafka/assets/630600/847654a4-8b22-49c8-9cb0-534b7586e4be";>
   



-- 
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: jira-unsubscr...@kafka.apache.org

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

Reply via email to