Get PGAdapter

This page explains how to get the PGAdapter binary.

  • To run PGAdapter standalone in the JVM, download the latest jar file and a new lib directory that contains the required dependencies.

    wget \ 
      && tar -xzvf pgadapter.tar.gz
  • To run PGAdapter in a Docker container, get the latest version by executing the following command:

    docker pull

    Get a previous version by appending the version as a tag.

    docker pull<version-number>

  • To use PGAdapter in process:

    Add google-cloud-spanner-pgadapter as a dependency to your project by adding the following code to your pom.xml file:


What's next