Eclipse Vert.x v3.7.0 includes GraphQL extension for Vert.x Web
Creating Reactive apps in the JVM with Vert.x just got even better with the new 3.7.0 update. This is the last minor update before v4.0 hits the scene. It includes several new features including the new Web GraphQL extension, AMQP Client, and several new APIs that improve upon the current ones.
On April 2, 2019 it updated to version 3.7.0. This new milestone is the last minor update before Vert.x v4.
According to the release notes, the latest update includes:
- Vert.x Web GraphQL: Build a GraphQL server with the GraphQL-Java library out of the box. Users will need to add a dependency to their Maven POM file or Gradle and create a Web
GraphQLHandlerfor it. Read the documentation for a detailed getting started guide and how build the sever.
- Cassandra Client object mapper support: The Vert.x Cassandra Client supports the cassandra-driver-mapping module. Users must update their classpath before using this feature. The driver provides a simple object mapper for executing CRUD operations.
- Client lifecycle: Users will no longer have to manually connect to a client. Instead, the lifecycle is automatically managed for a much simpler user experience.
- Vert.x Redis Client: A new, reworked Redit client provides a new API with less limitations than the previous version. This new API also allows for streams, hyperloglog, and any extension module.
- Vert.x AMQP Client: This supersedes the current AMQP bridge and allows for sending and receiving AMQP messages. Visit the AMQP homepage for protocol details.
- Stream pipes: A new API that supercedes the
- Kafka admin client: A new version of the native Kafka Admin Client API. Users should be aware that in Vert.x 4.0,
AdminUtilswill be removed. Consider migrating to the new Kafka client before then.
SEE ALSO: The official schedule for JDK 13 is here
The update also includes various bug fixes and a few deprecations and breaking changes.
View the entirety of what’s new in the the v3.7.0 release notes on GitHub.
Create Reactive apps
Apache Maven or Gradle users do not need to download any packages. All you need to do is retrieve Vert.x with the dependency manager. Grab the latest Docker images on Docker Hub.
Vert.x allows for scalability with minimal hardware. It is a general purpose tool that fits into extensive use cases. Since it is unopinionated, vert.x allows for lots of direct user control so you can make apps the way you want to.
Check out the benchmarks to see where it stands in comparison to tools like Node.js.
Several tutorials, workshops, books, and presentations are also available for learning the best practices. The Wiki also links to community groups and developer resources.