The Netty worker event loop uses the “default” named event loop group. That event loop can be configured through , or micronaut.netty.event-loops.default, with the latter having precedence.

    The server can also be configured to use a different named worker event loop:

    Using a different event loop for the server

    See the following table for configuring event loops:

    🔗

    Blocking Operations

    When dealing with blocking operations, Micronaut will shift the blocking operations to an unbound, caching I/O thread pool by default. You can configure the I/O thread pool using the ExecutorConfiguration named io. For example:

    Configuring the Server I/O Thread Pool

    1. executors:
    2. type: fixed

    The above configuration will create a fixed thread pool with 75 threads.