AHeise commented on code in PR #100: URL: https://github.com/apache/flink-connector-kafka/pull/100#discussion_r1762809895
########## flink-connector-kafka/src/test/java/org/apache/flink/connector/kafka/source/KafkaSourceITCase.java: ########## @@ -369,6 +370,38 @@ public void testConsumingTopicWithEmptyPartitions() throws Throwable { WatermarkStrategy.noWatermarks(), "testConsumingTopicWithEmptyPartitions")); } + + @Test + @Timeout(value = 10) + public void testConsumingTransactionalMessage() throws Throwable { + String transactionalTopic = "transactionalTopic-" + UUID.randomUUID(); + KafkaSourceTestEnv.createTestTopic( + transactionalTopic, KafkaSourceTestEnv.NUM_PARTITIONS, 1); + List<ProducerRecord<String, Integer>> records = + KafkaSourceTestEnv.getRecordsForTopic(transactionalTopic); + // Prepare records for executeAndVerify method + records.removeIf(record -> record.partition() > record.value()); Review Comment: If it's needed for verification, then all good. We should probably revise the setup then at a later point. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org