Skip to content

KAFKA-20850: Test suppress changelog upgrade and downgrade - #23065

Open
lh0156 wants to merge 1 commit into
apache:trunkfrom
lh0156:agent/KAFKA-20850-suppress-upgrade-downgrade
Open

KAFKA-20850: Test suppress changelog upgrade and downgrade#23065
lh0156 wants to merge 1 commit into
apache:trunkfrom
lh0156:agent/KAFKA-20850-suppress-upgrade-downgrade

Conversation

@lh0156

@lh0156 lh0156 commented Aug 3, 2026

Copy link
Copy Markdown

What

Add system-test coverage for the headers-aware suppress() changelog across the 4.3/4.4 boundary.

  • Allow Streams smoke job runners to receive additional Streams properties.
  • Configure dsl.store.format=HEADERS for the new coverage.
  • Exercise both LATEST_4_3 -> DEV_VERSION and DEV_VERSION -> LATEST_4_3 full restarts.
  • Extract the shared application transition setup so the existing upgrade matrix keeps the same behavior.

The test keeps the existing suppress() topology and continuously generates the smoke workload while all three processors are restarted. Each processor must rejoin, process records after the restart, and close cleanly; a changelog restore failure surfaces as a startup, processing, or shutdown failure. This test intentionally does not claim a separate final output-topic comparison because the driver runs in disableAutoTerminate mode during the transition.

Testing

  • RED: a pre-change contract check failed because the HEADERS property and bidirectional test were absent.
  • GREEN: python3 -m py_compile tests/kafkatest/services/streams.py tests/kafkatest/tests/streams/streams_application_upgrade_test.py.
  • GREEN: service property rendering confirmed dsl.store.format=HEADERS.
  • ./gradlew :streams:test --tests org.apache.kafka.streams.DslStoreFormatTest :streams:compileTestFixturesJava :streams:spotlessCheck passed.
  • git diff --check passed.

The Ducktape system test itself was not executed locally because this environment has no Kafka system-test cluster. No API, protocol, or KIP changes.

Generated-by: OpenAI Codex (GPT-5)

Signed-off-by: Yunseop Eom <62834176+lh0156@users.noreply.github.com>
@github-actions github-actions Bot added triage PRs from the community tests Test fixes (including flaky tests) small Small PRs labels Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

small Small PRs tests Test fixes (including flaky tests) triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant