Rückbau auf einen Consumer, der in `onPartitionsRevoked()` immer committed
[demos/kafka/training] / src / test / java / de / juplo / kafka / GenericApplicationTests.java
index 595ef89..8849317 100644 (file)
@@ -213,7 +213,7 @@ abstract class GenericApplicationTests<K, V>
                        Long expected = offsetsToCheck.get(tp) + 1;
                        log.debug("Checking, if the offset {} for {} is at most {}", offset, tp, expected);
                        assertThat(offset)
-                                       .describedAs("Committed offset corresponds to the offset of the consumer")
+                                       .describedAs("Committed offset must be at most equal to the offset of the consumer")
                                        .isLessThanOrEqualTo(expected);
                        isOffsetBehindSeen.add(offset < expected);
                });