Skip to content

feat(kafka): expose topic validation on existing producers - #571

Merged
lvthanh03 merged 2 commits into
mainfrom
tony/expose-topic-validation
Sep 11, 2026
Merged

feat(kafka): expose topic validation on existing producers#571
lvthanh03 merged 2 commits into
mainfrom
tony/expose-topic-validation

Conversation

@lvthanh03

@lvthanh03 lvthanh03 commented Sep 10, 2026

Copy link
Copy Markdown
Member

Exposes validate_topic(topic, timeout) methods on both KafkaProducer and AsyncKafkaProducer, replacing the current with_topic_validation constructor-time topic validation. with_topic_validation was added in a recent PR so nothing is currently using it.

Callers now create a producer, then validate each physical topic as needed, supporting producers shared across multiple topics. Both methods reuse the private validate_topic_metadata helper.

Refs STREAM-1755

@lvthanh03
lvthanh03 requested review from a team as code owners September 10, 2026 20:39
@linear-code

linear-code Bot commented Sep 10, 2026

Copy link
Copy Markdown

STREAM-1755

@lvthanh03
lvthanh03 enabled auto-merge (squash) September 11, 2026 17:10
@lvthanh03
lvthanh03 merged commit 84ca44f into main Sep 11, 2026
23 checks passed
@lvthanh03
lvthanh03 deleted the tony/expose-topic-validation branch September 11, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants