Netty
Functionality customizing Netty components used by other modules like Vertx, HTTP Async client, gRPC client, gRPC server.
Module itself does not provide any utility on its own, but only serves to configure Netty transport and Netty event loop within Kora.
Connection¶
The module will be transitively provided to dependencies that use it.
Configuration¶
An example of the configuration described in the NettyTransportConfig
class:
- Preferred trasnport if available on the path as a dependency, is selected by default in order of availability:
Epoll
(require dependency)KQueue
(require dependency)Nio
- Number of threads Netty event loop, defaults to the number of CPU cores multiplied by 2.
- Preferred trasnport if available on the path as a dependency, is selected by default in order of availability:
Epoll
(require dependency)KQueue
(require dependency)Nio
- Number of threads Netty event loop, defaults to the number of CPU cores multiplied by 2.