kafka-ui
kafka-ui copied to clipboard
Broker configs: allow resetting values to nulls
Currently if you change a broker property with null value to something non-null it's not possible to set it back to null. Not supported by both backend and frontend.
@Haarolean Can you please assign this to me ?
@Haarolean Can you please add more details to this issue ?
@Haarolean Can you please add more details to this issue ?
done :)
@Haarolean How can i change kafka broker properties through the Kafka-UI or by other means, Can you give some steps please to reproduce the behaviour :) ?
Also are we talking broker properties in the context of topics/messages ?
@Haarolean How can i change
kafka brokerproperties through the Kafka-UI or by other means, Can you give some steps please to reproduce the behaviour :) ? Also are we talking broker properties in the context oftopics/messages?
that's our new feature (#712), every broker in a table is clickable, there's a tab "configs" inside (url: /ui/clusters/local/brokers/0/configs).
@Haarolean I tried this bug on latest master.
- If we set a null field to some value then value is not reflected right way, not sure if it is intended behaviour. Shall we fix this behaviour ?
- If we change a broker property with null value to something non-null then we are able to set it back to null, we have to refresh the page and it will be in effect.
@shubhwip
- how does it work then?
- can we do this without a refresh?
@shubhwip
- how does it work then?
I needed to refresh the page to see updated value.
- can we do this without a refresh?
Let me check.
I needed to refresh the page to see updated value.
looks like a bug to me.
@shubhwip and this one? :-)
@Haarolean I will do it probably this weekend or next.
I tried to reproduce this issue on latest master today and
- set a field with null value(for e.g.
log.flush.interval.ms) to non null value - when i try to set it back to null then there are some errors on the kafka side i.e.
2022-12-18 19:59:29 org.apache.kafka.common.errors.InvalidRequestException: Invalid value null for configuration log.flush.interval.ms: Not a number of type LONGSame error happens with some of other properties and then kafka-ui throws400response.
Not sure if this is something we need to work on because kafka is handling it this way.
Some null properties can't be changed as I tried to set a field ssl.key.password which was null.
2022-12-18 20:07:59 org.apache.kafka.common.errors.InvalidRequestException: These security configs can be dynamically updated only per-listener using the listener prefix: HashSet(ssl.key.password)
@shubhwip thanks! We'll discuss thing thingy