Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public void shouldFinishGlobalStoreOperationOnShutDown() throws Exception {
public boolean conditionMet() {
return firstRecordProcessed;
}
}, 5000L, "Has not processed record within 5 seconds");
}, "Has not processed record within 5 seconds");

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When no timeout is specified the default time of 15 seconds is used.


kafkaStreams.close(30, TimeUnit.SECONDS);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public Iterable<String> apply(final String value) {
//
// Step 3: Verify the state changelog topics are compact
//
waitForCompletion(streams, 2, 5000);
waitForCompletion(streams, 2, 15000);
streams.close();

final Properties changelogProps = getTopicProperties(ProcessorStateManager.storeChangelogTopic(appID, "Counts"));
Expand Down Expand Up @@ -206,7 +206,7 @@ public Iterable<String> apply(final String value) {
//
// Step 3: Verify the state changelog topics are compact
//
waitForCompletion(streams, 2, 5000);
waitForCompletion(streams, 2, 15000);
streams.close();
final Properties properties = getTopicProperties(ProcessorStateManager.storeChangelogTopic(appID, "CountWindows"));
final List<String> policies = Arrays.asList(properties.getProperty(LogConfig.CleanupPolicyProp()).split(","));
Expand Down