You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
kafka-utils uses the Value:0 of under replicated partition that gets generated by Jolokia. Based on if the Value:0 or not the next broker is restarted. So if you can get this value and use it in your logic you should be solid.
Now to get this value you can simply run
export ZK="--zookeeper zk01,zk02,zk03:2181/kafka"
/bin/kafka-topics.sh $ZK --describe --under-replicated-partitions >> output.log
Now do a regex on output.log to check the under-replicated-partitions value
if ( value == 0) : move to restart if not then wait.
Is it possible to use the rolling restart functionality without Jolokia? We use the built in jmxremote functionality, is it possible to use that?
Thanks,
Eric Garcia
The text was updated successfully, but these errors were encountered: