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

Tsz Wo Nicholas Sze commented on RATIS-28:
------------------------------------------

> 1. RaftConfigKeys#Rpc can be an interface

That is a good point.  I will also change NettyConfigKeys.Server to interface.

For #2 and #3, I will create JIRAs to follow up on them.  Thanks a lot!

> Create RaftServerRpc using ServerFactory
> ----------------------------------------
>
>                 Key: RATIS-28
>                 URL: https://issues.apache.org/jira/browse/RATIS-28
>             Project: Ratis
>          Issue Type: Sub-task
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>         Attachments: r28_20170222.patch, r28_20170223b.patch, 
> r28_20170223.patch, r28_20170224.patch
>
>
> In order to support pluggable rpc, user is supposed to first choose an rpc 
> implementation to create a RaftServerRpc rpc.  Then create a RaftServer 
> server.  Finally, call server.setServerRpc(rpc) to connect these two objects.
> In this JIRA, we add a RpcType property and use it to initialize RaftServer 
> and then automatically create RaftServerRpc from the RpcType.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to