<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-io_uring-incubator</artifactId>
<version>4.4.9</version>
</dependency> Core modules
You are currently viewing the documentation for Vert.x 4.4.9. Go to the latest version.
Vert.x io_uring
Incubator
Vert.x io_uring is a transport using the io_uring interface of the Linux kernel.
Vert.x io_uring is based on Netty io_uring, more details on the GitHub project.
Vert.x io_uring works with
-
Vert.x Core TCP, HTTP, datagram servers/clients
-
Redis client
-
Vert.x AMQP client
-
Vert.x Consul client
| This module has incubation status and only works on some Linux OSes. |
Using Vert.x io_uring
To use Vert.x io_uring, add the following dependency to the dependencies section of your build descriptor:
-
Maven (in your
pom.xml):
-
Gradle (in your
build.gradlefile):
dependencies {
compile 'io.vertx:vertx-io_uring-incubator:4.4.9'
} Enable the native transport option when creating the Vertx instance:
Vertx vertx = Vertx.vertx(new VertxOptions().setPreferNativeTransport(true)); When enabled, the io_uring transport takes precedence over the JDK or epoll transports.