Ballerina CDC Postgresql Driver Library

May 27, 2025 ยท View on GitHub

Build Trivy GitHub Last Commit GitHub issues

This library provides the necessary Debezium drivers required for the CDC (Change Data Capture) connector in Ballerina. It enables listening to changes in Postgres databases seamlessly within Ballerina projects.

Compatibility

Version
Ballerina Language2201.12.0
Debezium Postgres Driver3.0.8.Final

Usage

To include the postgresql.cdc.driver dependency in your project, simply import the module as shown below:

import ballerinax/cdc;
import ballerinax/postgresql.cdc.driver as _;

The postgresql.cdc.driver library is bundled with the required drivers, so no additional configuration is needed.

Issues and projects

Issues and Projects tabs are disabled for this repository as this is part of the Ballerina standard library. To report bugs, request new features, start new discussions, view project boards, etc. please visit Ballerina Standard Library parent repository.

This repository only contains the source code for the package.

Build from the source

Set up the prerequisites

  1. Download and install Java SE Development Kit (JDK) version 21 (from one of the following locations).

  2. Download and install Docker

Build the source

Execute the commands below to build from the source.

  1. To build the library:

     ./gradlew clean build
    
  2. Publish ZIP artifact to the local .m2 repository:

     ./gradlew clean build publishToMavenLocal
    
  3. Publish the generated artifacts to the local Ballerina central repository:

     ./gradlew clean build -PpublishToLocalCentral=true
    
  4. Publish the generated artifacts to the Ballerina central repository:

     ./gradlew clean build -PpublishToCentral=true
    

Contribute to Ballerina

As an open source project, Ballerina welcomes contributions from the community.

For more information, go to the contribution guidelines.

Code of conduct

All contributors are encouraged to read the Ballerina code of conduct.