Copilot commented on code in PR #9376:
URL: https://github.com/apache/seatunnel/pull/9376#discussion_r2113049653
##########
seatunnel-e2e/seatunnel-connector-v2-e2e/connector-kafka-e2e/src/test/java/org/apache/seatunnel/e2e/connector/kafka/KafkaIT.java:
##########
@@ -160,9 +161,16 @@ public void startUp() throws Exception {
new NewTopic("test_topic_source_timestamp", 1, (short) 1);
testTopicSourceWithTimestamp.configs(Collections.singletonMap("retention.ms",
"-1"));
+ NewTopic testTopicSourceSkipPartition =
+ new NewTopic("test_topic_source_skip_partition", 2,
(short) 1);
+
testTopicSourceWithTimestamp.configs(Collections.singletonMap("retention.ms",
"-1"));
Review Comment:
It appears that the retention configuration is being set on
testTopicSourceWithTimestamp instead of testTopicSourceSkipPartition. Update
the call to configure testTopicSourceSkipPartition to ensure the correct topic
is being configured.
```suggestion
testTopicSourceSkipPartition.configs(Collections.singletonMap("retention.ms",
"-1"));
```
--
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]