[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13693363#comment-13693363
 ] 

Sijie Guo commented on BOOKKEEPER-628:
--------------------------------------

{code}
I'm thinking to move the zookeeper instantiation to the 
RegistrationManager#init() method, and returns zk object.
{code}

in general, the interface is to allow different implementations. returning a zk 
object against its purpose. this interface should be something like 
HubServerManager interface in hedwig. 
https://github.com/apache/bookkeeper/blob/trunk/hedwig-server/src/main/java/org/apache/hedwig/server/topics/HubServerManager.java
 


                
> Improve bookie registration interface
> -------------------------------------
>
>                 Key: BOOKKEEPER-628
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-628
>             Project: Bookkeeper
>          Issue Type: Improvement
>          Components: bookkeeper-client, bookkeeper-server
>            Reporter: Rakesh R
>            Assignee: Rakesh R
>             Fix For: 4.3.0
>
>         Attachments: BOOKKEEPER-628-interface-version-1.patch, 
> BOOKKEEPER-628-interface-version.patch
>
>
> The idea is to improve/generalize the bookie registration process

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to