Eclipse Vert.x 3.9.2 released!

We are ex­tremely pleased to an­nounce that the Eclipse Vert.x ver­sion 3.9.2 has been re­leased.

Among all bug fixes you can find in 3.9.2 this en­hance­ment

Meet the Reactive DB2 Client

The Re­ac­tive SQL Client fam­ily gets a new child with an im­ple­men­ta­tion con­tributed by our fel­low main­tainer Andy Guib­ert.

Using DB2 client is as straight­for­ward as its elder sib­blings:

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 re­ac­tive Client can now con­nect using do­main sock­ets.

// 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 re­lease notes can be found on the wiki, as well as the list of dep­re­ca­tions and break­ing changes

Docker im­ages are avail­able on Docker Hub.

The Vert.x dis­tri­b­u­tion can be down­loaded on the web­site but is also avail­able from SD­KMan and Home­Brew.

The event bus client using the SockJS bridge is avail­able from:

The re­lease ar­ti­facts have been de­ployed to Maven Cen­tral and you can get the dis­tri­b­u­tion on Bin­tray.

That’s it! Happy cod­ing and see you soon on our user or dev chan­nels.

Next post

Eclipse Vert.x 4 beta 1 released!

We are extremely pleased to announce the first 4.0 beta release of Eclipse Vert.x. Highlights of this release are the improved JDBC Client API, event loop affinity, and much more.

Read more
Previous post

Eclipse Vert.x 4 milestone 5 released!

We are extremely pleased to announce the fifth 4.0 milestone release of Eclipse Vert.x. This release aims to provide a reliable distribution of the current development of Vert.x 4.

Read more
Related posts

Eclipse Vert.x 3.7.0 released!

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

Read more

Eclipse Vert.x 3.8.0 released!

We are extremely pleased to announce that Eclipse Vert.x 3.8.0 has been released. This is an important release introduceing a few changes ramping up to Vert.x 4.

Read more

Building a real-time web app with Angular/Ngrx and Vert.x

There are multiple tech stacks to build a real-time web app. What are the best choices to build Angular client apps, connected to a JVM-based backend?

Read more