Configuring the Reactive Postgres Client

Using the CLI

If you create 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, first add the vertx-pg-client module to your build:

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.