Skip to content

KAFKA-18053 Clean up topology config #19995

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

sebastienviale
Copy link
Contributor

@sebastienviale sebastienviale commented Jun 19, 2025

Pull request to implement KIP-1138, which aims to address several issues related to the configuration application process in Kafka Streams.

This PR has multiple goals:

  • Deprecate TopologyConfig in favor of StreamsConfig.

  • Deprecate StreamsBuilder#build(StreamsConfig) and encourage users to pass configurations via the StreamsBuilder constructor instead.

  • Deprecate constructors in StreamsBuilder and Topology that accept a TopologyConfig, replacing them with constructors that accept a Properties or Map.

  • Improve misconfiguration detection by:

    • Throwing an exception if a topology-specific config is set in StreamsConfig but not applied to the topology.
    • Logging a warning if a topology-specific config is set in both places but has different values.

@sebastienviale sebastienviale marked this pull request as draft June 19, 2025 06:32
@github-actions github-actions bot added triage PRs from the community streams and removed triage PRs from the community labels Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant