Configuring the Reactive Postgres Client

Using the CLI

If you are creating your project using the Micronaut CLI, supply the vertx-pg-client feature to configure the Reactive Postgres client in your project:

  1. $ mn create-app my-app features vertx-pg-client

To configure the Reactive Postgres client you should first add vertx-pg-client module to your classpath:

build.gradle

  1. compile "io.micronaut.sql:micronaut-vertx-pg-client"

For more information see the Configuring Reactive Postgres section of the Micronaut SQL libraries project.