Skip to content

Conversation

shashankhs11
Copy link
Contributor

@shashankhs11 shashankhs11 commented Sep 2, 2025

Clean up KafkaStreamsTelemetryIntegrationTest.java

Reviewers: Lucas Brutschy [email protected]

@github-actions github-actions bot added triage PRs from the community streams tests Test fixes (including flaky tests) small Small PRs labels Sep 2, 2025
@@ -444,7 +444,7 @@ private List<String> getTaskIdsAsStrings(final KafkaStreams streams) {
.toList();
}

private static Stream<Arguments> singleAndMultiTaskParameters() {
private static Stream<Arguments> topologyComplexityAndRebalanceProtocol() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Renamed to topologyComplexityAndRebalanceProtocol as per #19275 (comment)

@github-actions github-actions bot removed the triage PRs from the community label Sep 3, 2025
@lucasbru lucasbru requested a review from Copilot September 3, 2025 12:28
@lucasbru lucasbru self-assigned this Sep 3, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes the state-updater configuration parameter from telemetry integration tests, simplifying test methods by eliminating the boolean parameter that controlled state updater enablement. The changes align with cleanup efforts for state-updater related integration tests.

  • Removed stateUpdaterEnabled parameter from test methods and helper functions
  • Simplified parameterized test methods to focus on topology complexity and rebalance protocol
  • Converted one parameterized test to a simple test method with hardcoded classic protocol

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Member

@lucasbru lucasbru left a comment

Choose a reason for hiding this comment

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

LGTM, but a question for @bbejeck

streamsApplicationProperties.put(StreamsConfig.STATE_DIR_CONFIG, TestUtils.tempDirectory(appId).getPath() + "-ks1");
streamsApplicationProperties.put(StreamsConfig.CLIENT_ID_CONFIG, appId + "-ks1");


streamsSecondApplicationProperties = props(stateUpdaterEnabled, groupProtocol);
streamsSecondApplicationProperties = props("classic");
Copy link
Member

Choose a reason for hiding this comment

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

Interesting - why did we not enable this test for the "streams" protocol? @bbejeck

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I see that this was disabled recently in #20147

@lucasbru lucasbru merged commit d68c41d into apache:trunk Sep 4, 2025
28 checks passed
@shashankhs11 shashankhs11 deleted the KAFKA-18913-cleanup-intgtests-1 branch September 7, 2025 04:57
@shashankhs11 shashankhs11 changed the title KAFKA-19666: Clean up integration tests related to state-updater KAFKA-19666: Remove old restoration codepath from KafkaStreamsTelemetryIntegrationTest [1/N] Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-approved small Small PRs streams tests Test fixes (including flaky tests)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants