Skip to main content

Ratis Netty Configurations

Server

Propertyraft.netty.server.host
DescriptionThe host name of the server.
TypeString
Defaultnull
Propertyraft.netty.server.port
DescriptionThe port number of the server.
Typeint
Default0
Propertyraft.netty.server.use-epoll
DescriptionWhether to use epoll for the server.
Typeboolean
Defaulttrue

Client

Propertyraft.netty.client.use-epoll
DescriptionWhether to use epoll for the client.
Typeboolean
Defaulttrue

DataStream

Server

Propertyraft.netty.dataStream.server.host
DescriptionThe host name of the data stream server.
TypeString
Defaultnull
Propertyraft.netty.dataStream.server.port
DescriptionThe port number of the data stream server.
Typeint
Default0
Propertyraft.netty.dataStream.server.use-epoll
DescriptionWhether to use epoll for the data stream server.
Typeboolean
Defaulttrue
Propertyraft.netty.dataStream.server.tls.conf
DescriptionThe TLS configuration for the data stream server.
TypeTlsConf
Defaultnull
Propertyraft.netty.dataStream.server.boss-group.size
DescriptionThe size of the boss group for the data stream server.
Typeint
Default0
Propertyraft.netty.dataStream.server.worker-group.size
DescriptionThe size of the worker group for the data stream server.
Typeint
Default0
Propertyraft.netty.dataStream.server.channel.inactive.grace-period
DescriptionThe grace period for inactive channels on the data stream server.
TypeTimeDuration
Default10m

Client

Propertyraft.netty.dataStream.client.host
DescriptionThe host name of the data stream client.
TypeString
Defaultnull
Propertyraft.netty.dataStream.client.port
DescriptionThe port number of the data stream client.
Typeint
Default0
Propertyraft.netty.dataStream.client.use-epoll
DescriptionWhether to use epoll for the data stream client.
Typeboolean
Defaulttrue
Propertyraft.netty.dataStream.client.tls.conf
DescriptionThe TLS configuration for the data stream client.
TypeTlsConf
Defaultnull
Propertyraft.netty.dataStream.client.worker-group.size
DescriptionThe size of the worker group for the data stream client.
Typeint
Defaultmax(1, NettyRuntime.availableProcessors() * 2)
Propertyraft.netty.dataStream.client.worker-group.share
DescriptionWhether to share the worker group for the data stream client.
Typeboolean
Defaulttrue
Propertyraft.netty.dataStream.client.reply.queue.grace-period
DescriptionThe grace period for the reply queue on the data stream client.
TypeTimeDuration
Default1s