rondagostino opened a new pull request #10357:
URL: https://github.com/apache/kafka/pull/10357


   It is possible that an existing Cluster ID in Zookeeper is not convertible 
to a UUID.  KIP-500 cannot constrain Cluster IDs to be convertible to a UUID 
and still expect such a cluster to be able to upgrade to KIP-500.  This patch 
removes this UUID constraint and makes KIP-500 consistent with existing RPCs, 
which treat Cluster ID as a String.
   
   It is unlikely that an existing Cluster ID in Zookeeper would not be 
convertible to a UUID because the Cluster ID is auto-generated in the form of a 
UUID and stored in ZooKeeper as soon as the first broker connects.  However, 
there is nothing preventing someone from generating a Cluster ID that does not 
confirm to the UUID format and manually storing/bootstrapping that into 
ZooKeeper before the first broker connects.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to