You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2017/03/07 01:11:33 UTC
[jira] [Commented] (RATIS-36) Use ConfUtils for other ConfigKeys
[ https://issues.apache.org/jira/browse/RATIS-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15898515#comment-15898515 ]
Tsz Wo Nicholas Sze commented on RATIS-36:
------------------------------------------
Below are lists of keys:
- RaftClientConfigKeys
{code}
******* interface org.apache.ratis.client.RaftClientConfigKeys *******
constant: PREFIX = raft.client
******* interface org.apache.ratis.client.RaftClientConfigKeys$Rpc *******
constant: PREFIX = raft.client.rpc
key: raft.client.rpc.timeout (TimeDuration, default=300 milliseconds)
{code}
- RaftConfigKeys
{code}
******* interface org.apache.ratis.RaftConfigKeys *******
constant: PREFIX = raft
******* interface org.apache.ratis.RaftConfigKeys$Rpc *******
constant: PREFIX = raft.rpc
key: raft.rpc.type (String, default=GRPC)
{code}
- GrpcConfigKeys
{code}
******* interface org.apache.ratis.grpc.GrpcConfigKeys *******
constant: PREFIX = raft.grpc
******* interface org.apache.ratis.grpc.GrpcConfigKeys$OutputStream *******
constant: PREFIX = raft.grpc.outputstream
key: raft.grpc.outputstream.buffer.size (int, default=65536)
key: raft.grpc.outputstream.retry.times (int, default=5)
key: raft.grpc.outputstream.retry.interval (TimeDuration, default=300 milliseconds)
key: raft.grpc.outputstream.outstanding.appends.max (int, default=128)
******* interface org.apache.ratis.grpc.GrpcConfigKeys$Server *******
constant: PREFIX = raft.grpc.server
key: raft.grpc.server.port (int, default=0)
key: raft.grpc.server.message.size.max (int, default=67108864)
key: raft.grpc.server.leader.outstanding.appends.max (int, default=128)
{code}
- HadoopConfigKeys
{code}
******* interface org.apache.ratis.hadooprpc.HadoopConfigKeys *******
constant: PREFIX = raft.hadoop
parameter: raft.hadoop.conf (class org.apache.hadoop.conf.Configuration)
******* interface org.apache.ratis.hadooprpc.HadoopConfigKeys$Ipc *******
constant: PREFIX = raft.hadoop.ipc
key: raft.hadoop.ipc.address (String, default=0.0.0.0:10718)
key: raft.hadoop.ipc.handlers (int, default=10)
{code}
- NettyConfigKeys
{code}
******* interface org.apache.ratis.netty.NettyConfigKeys *******
constant: PREFIX = raft.netty
******* interface org.apache.ratis.netty.NettyConfigKeys$Server *******
constant: PREFIX = raft.netty.server
key: raft.netty.server.port (int, default=0)
{code}
> Use ConfUtils for other ConfigKeys
> ----------------------------------
>
> Key: RATIS-36
> URL: https://issues.apache.org/jira/browse/RATIS-36
> Project: Ratis
> Issue Type: Improvement
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Attachments: r36_20170306.patch
>
>
> In RATIS-34, we change RaftServerConfigKeys to use ConfUtils. We do similar changes here for RaftClientConfigKeys, RaftConfigKeys, RaftGrpcConfigKeys, HadoopConfigKeys and NettyConfigKeys.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)