Skip to content

[DE-535] Provide the capability to reuse an existing Vertx instance #557

Closed
@jamesnetherton

Description

@jamesnetherton

My project is based on a Framework (Quarkus) that uses Vert.x.

When I use the ArangoDB Java Driver to connect to a server I see:

WARN  [io.ver.cor.imp.VertxImpl] (executor-thread-1) You're already on a Vert.x context, are you sure you want to create a new Vertx instance?

It happens because HttpConnection, creates its own Vertx:

vertx = Vertx.vertx(new VertxOptions().setPreferNativeTransport(true).setEventLoopPoolSize(1));

In my case, there's already an existing Vertx instance managed by Quarkus. So it'd be useful if there were some way to reuse it in the ArangoDB Java Driver.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions