ZOYKU火线榜

eclipse-vertx/vert.x技术文档

Vert.x is a tool-kit for building reactive applications on the JVM

多语言回退提示:当前仓库原作者暂未发布本地化文档,已为您无缝切换至官方英文原版(English),排版及代码实例完整保真。
极速安装
git clone https://github.com/eclipse-vertx/vert.x.git

Build Status (5.x) Build Status (4.x)

Vert.x Core

This is the repository for Vert.x core.

Vert.x core contains fairly low-level functionality, including support for HTTP, TCP, file system access, and various other features. You can use this directly in your own applications, and it's used by many of the other components of Vert.x.

For more information on Vert.x and where Vert.x core fits into the big picture please see the website.

Building Vert.x artifacts

> mvn package

Running tests

Runs the tests

> mvn test

Tests can be run with specified HTTP port and/or HTTPS port.

> mvn test -Dvertx.httpPort=8888 -Dvertx.httpsPort=4044

Vert.x supports native transport on BSD and Linux, to run the tests with native transport

> mvn test -PNativeEpoll
> mvn test -PNativeIoUring
> mvn test -PNativeKQueue

Vert.x supports domain sockets on Linux exclusively, to run the tests with domain sockets

> mvn test -PNativeEpoll+DomainSockets

Vert.x has integrations tests that run a differently configured JVM (classpath, system properties, etc....)

> vertx verify -Dtest=FooTest # FooTest does not exists, its only purpose is to execute no tests during the test phase

Building documentation

> mvn package -Pdocs -DskipTests

Open target/docs/vertx-core/java/index.html with your browser

文档镜像归档自 GitHub 官方源路径 · 访问原项目 GitHub
最后同步快照:2026-11-08