Skip to content
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

Allow disable auto topic creation on client side #1982

Closed
zifengyu opened this issue Jul 6, 2021 · 1 comment
Closed

Allow disable auto topic creation on client side #1982

zifengyu opened this issue Jul 6, 2021 · 1 comment

Comments

@zifengyu
Copy link
Contributor

zifengyu commented Jul 6, 2021

Versions
Sarama Kafka Go
v1.29.0 2.7.0 1.16.5
Configuration

What configuration values are you using for Sarama and Kafka?

Both arewith default settings. (Broker has auto.create.topics.enable = true)

Problem Description

In our environment, Kafka topics are manually created and deleted by one management program. We do not wish the other client programs with sarama to create new topics when producing to/subscribing a no longer exsiting topic. It is also not an option for us to disable the auto topic creation on broker level as this will impact other business department.

Proposal

Allow user to set allow_auto_topic_creation argument in the metadata request and expose it as a configuration.

zifengyu pushed a commit to zifengyu/sarama that referenced this issue Jul 6, 2021
zifengyu pushed a commit to zifengyu/sarama that referenced this issue Jul 6, 2021
zifengyu pushed a commit to zifengyu/sarama that referenced this issue Jul 6, 2021
@dnwe
Copy link
Collaborator

dnwe commented Jul 19, 2021

Closed via #1983 - thanks @zifengyu

@dnwe dnwe closed this as completed Jul 19, 2021
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

No branches or pull requests

2 participants