wgy8283335 commented on issue #1775: Leaf key generator implementation for Apache ShardingSphere URL: https://github.com/apache/incubator-shardingsphere/issues/1775#issuecomment-492579588 @terrymanu. These days I've been reading through the source code of the key generator and registry center related. I'd like to discuss with you at the plan of coding leaf generator. 1. As you know the leaf generator needs zookeeper client to communicate with zookeeper server. So the way of initializing the zookeeper client is a little hard to decide. Although, initializing the client and the definition of the client has been implemented in 'package org.apache.shardingsphere.orchestration.reg'. But it is hard to use them directly,.Beacuse the key generator is in 'package org.apache.shardingsphere.core.strategy.keygen'. So I'm planning to write these part on my own to initialize the client and the related functions. 2. The property of the leaf segment generator, especially zookeeper client related.I'd like to use new parameter,this means orchestration register related parameter won't be used. These two points are what I like to discuss with you, do you have any suggestion?
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
