-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
How to remove Kafka Topic Config entry using API? (OpType.DELETE from kafka-config cli) #1830
Comments
It looks like Sarama is doing the right thing when encoding the request, the value is supposed to be NULLABLE_STRING. Now I'm curios as to how deleting configs via CLI works... (Update) |
This comment was marked as outdated.
This comment was marked as outdated.
Is there any update on this issue? Does a workaround for removing config entries exist? Thanks ❤️ |
@stoeffel You can just dump current config, remove expected key from map, apply it again (we do it currently for Topics, but for broker Dynamic config it does not work) |
This comment was marked as outdated.
This comment was marked as outdated.
Can this now be solved via #2088 and the IncrementalAlterConfigsOperationDelete operation? |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Thank you for taking the time to raise this issue. However, it has not had any activity on it in the past 90 days and will be closed in 30 days if no updates occur. |
Versions
Configuration
Any kind of connection (SASL_PLAINTEXT, SASL_SSL, SSL), Kafka API version "2.4.0".
Logs
From Client application: EOF
From Server:
Problem Description
Hello!
I want to remove configuration from Kafka Topic (in principal restore it to default value).
I tried to:
Is there any possibility to revert this value (restore to default) using Sarama?
Using Kafka CLI kafka-config I'm able to restore default value.
Best Regards,
Adam.
The text was updated successfully, but these errors were encountered: