Eclipse Vert.x 3.9.2 released!

We are extremely pleased to announce that the Eclipse Vert.x version 3.9.2 has been released.

Among all bug fixes you can find in 3.9.2 this enhancement

Meet the Reactive DB2 Client

The Reactive SQL Client family gets a new child with an implementation contributed by our fellow maintainer Andy Guibert.

Using DB2 client is as straightforward as its elder sibblings:

DB2ConnectOptions connectOptions = new DB2ConnectOptions()
  .setPort(50000)
  .setHost("the-host")
  .setDatabase("the-db")
  .setUser("user")
  .setPassword("secret");
 
// Create the client pool
DB2Pool client = DB2Pool.pool(connectOptions, poolOptions);
 
// A simple query
client
  .query("SELECT * FROM users WHERE id='julien'")
  .execute(ar -> {
  if (ar.succeeded()) {
    RowSet<Row> result = ar.result();
    System.out.println("Got " + result.size() + " rows ");
  } else {
    System.out.println("Failure: " + ar.cause().getMessage());
  }
 
  // Now close the pool
  client.close();
});

Reactive MySQL Client domain socket support

The MySQL reactive Client can now connect using domain sockets.

// Connect Options
// Socket file name /var/run/mysqld/mysqld.sock
MySQLConnectOptions connectOptions = new MySQLConnectOptions()
    .setHost("/var/run/mysqld/mysqld.sock")
    .setDatabase("the-db");
 
// Create the pooled client
MySQLPool client = MySQLPool.pool(connectOptions, new PoolOptions().setMaxSize(5));

Finally

The 3.9.2 release notes can be found on the wiki, as well as the list of deprecations and breaking changes

Docker images are available on Docker Hub.

The Vert.x distribution can be downloaded on the website but is also available from SDKMan and HomeBrew.

The event bus client using the SockJS bridge is available from:

The release artifacts have been deployed to Maven Central and you can get the distribution on Bintray.

That’s it! Happy coding and see you soon on our user or dev channels.

Posted on 21 July 2020
in releases
2 min read

Related posts