-
Notifications
You must be signed in to change notification settings - Fork 579
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
Add properties that are returned from topic describe config to noop list #4313
Conversation
Add properties that are returned from topic describe config to noop list
"partition_count", | ||
"replication_factor", | ||
// Invalid name from describe | ||
"redpanda.datapolicy", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: I think it should be fine for now but having a way to annotate the scope of each property would be nice to have just to make this better in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can also make this a ctre
... something like this https://godbolt.org/z/5PcbEWz8s
topic = self.topics[0].name | ||
kafka_tools = KafkaCliTools(self.redpanda) | ||
topic_config = kafka_tools.describe_topic_config(topic=topic) | ||
self.client().alter_topic_configs(topic, topic_config) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! this should help to catch this kind of issues in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 lgtm. Maybe we should follow up with some improvements in how the configurations are annotated.
Cover letter
Fixes #4310
Release notes
Accept partition_count, replication_factor and redpanda.datapolicy in alter config handler