KAFKA-7165: Retry the BrokerInfo registration into ZooKeeper (#5575)
* Add logic to retry the BrokerInfo registration into ZooKeeper In case the ZooKeeper session has been regenerated and the broker tries to register the BrokerInfo into Zookeeper, this code deletes the current BrokerInfo from Zookeeper and creates it again, just if the znode ephemeral owner belongs to the Broker which tries to register himself again into ZooKeeper * Add test to validate the BrokerInfo re-registration into ZooKeeper
Please register or sign in to comment