Setting up CDC Extension JAR

You can set up the CDC extension JAR from the open-source GitHub ignite-extensions repository by performing the following steps:

    Procedure
  1. To copy the contents from the GitHub repo to your local machine, navigate to the following URL:

    https://github.com/apache/ignite-extensions.git

  2. Clone the GitHub repo to your machine.

  3. Open the command prompt from the ignite-extensions folder and run the following command:

    git checkout -b <name> 3a9829901b4b313f3ed8b29b26a9b9da212bbd71

  4. Note: You can specify any custom branch-name for <name>.
  5. Edit the parent-internal/pom.xml file as shown in the following steps:

    1. Open the ignite-extensions/parent-internal/pom.xml file.
    2. At line #29 of the file, change the value 2.16.0-SNAPSHOT to 2.16.0.
    3. At line #61 of the file, change the value from https://repository.apache.org/snapshots to https://repo.maven.apache.org/maven2.

  6. In the command prompt from the ignite-extensions folder, run the following commands:
    cd modules/cdc-ext/
    mvn clean package -DskipTests -Dmaven.javadoc.skip=true
  7. A JAR file ignite-cdc-ext-1.0.0-SNAPSHOT.jar is created at the following location:.

    ignite-extensions/modules/cdc-ext/target/ignite-cdc-ext-1.0.0-SNAPSHOT.jar

  8. Copy the ignite-cdc-ext-1.0.0-SNAPSHOT.jar file in the lib folder of the installation folder.

    $BE_HOME/lib/ext/tpcl/apache/ignite

  9. Note: If there is any change in the API or design architecture of the Ignite, you might need to change the BusinessEvents module implementation.
ResultThe ignite-cdc-ext-1.0.0-SNAPSHOT.jar file is copied to the $BE_HOME/lib/ext/tpcl/apache/ignite folder.