Tan-JiaLiang commented on code in PR #52:
URL: 
https://github.com/apache/flink-connector-kafka/pull/52#discussion_r1338500811


##########
flink-connector-kafka/src/test/java/org/apache/flink/connector/kafka/source/enumerator/KafkaEnumeratorTest.java:
##########
@@ -300,7 +300,7 @@ public void testDiscoverPartitionsPeriodically() throws 
Throwable {
                     getAllAssignSplits(context, PRE_EXISTING_TOPICS);
             assertThat(initialPartitionAssign)
                     .extracting(KafkaPartitionSplit::getStartingOffset)
-                    .containsOnly(KafkaPartitionSplit.LATEST_OFFSET);
+                    .containsOnly((long) 
KafkaSourceTestEnv.NUM_RECORDS_PER_PARTITION);

Review Comment:
   I had been double check, removing it will results in a syntax error.



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