chia7712 commented on code in PR #23615:
URL: https://github.com/apache/kafka/pull/23615#discussion_r4541798722


##########
streams/src/testFixtures/java/org/apache/kafka/streams/tests/SmokeTestClient.java:
##########
@@ -150,6 +150,10 @@ private Properties getStreamsConfig(final Properties 
props) {
         fullProps.put(StreamsConfig.CLIENT_ID_CONFIG, "SmokeTest-" + name);
         fullProps.put(StreamsConfig.STATE_DIR_CONFIG, 
TestUtils.tempDirectory().getAbsolutePath());
         fullProps.put(StreamsConfig.PROCESSING_GUARANTEE_CONFIG, 
StreamsConfig.EXACTLY_ONCE_V2);
+        // SmokeTestDriver writes records two days in the past, so window 
changelogs need more than the
+        // default one-day additional retention. 
StreamsSmokeTestBaseService.prop_file() in
+        // tests/kafkatest/services/streams.py passes the same value to the 
old clients in system tests;
+        // change both together.
         
fullProps.put(StreamsConfig.WINDOW_STORE_CHANGE_LOG_ADDITIONAL_RETENTION_MS_CONFIG,
 Duration.ofDays(3).toMillis());

Review Comment:
   Have you considered copying this config to all `SmokeTestClient` copies 
under `streams/upgrade-system-tests-*` instead? That is more consistent I think



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