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
-
To copy the contents from the GitHub repo to your local machine, navigate to the following URL:
https://github.com/apache/ignite-extensions.git
-
Clone the GitHub repo to your machine.
-
Open the command prompt from the
ignite-extensionsfolder and run the following command:git checkout -b <name> 3a9829901b4b313f3ed8b29b26a9b9da212bbd71
-
Edit the parent-internal/pom.xml file as shown in the following steps:
- Open the ignite-extensions/parent-internal/pom.xml file.
- At line #29 of the file, change the value
2.16.0-SNAPSHOT to2.16.0 . - At line #61 of the file, change the value from https://repository.apache.org/snapshots to https://repo.maven.apache.org/maven2.
- In the command prompt from the
ignite-extensionsfolder, run the following commands:cd modules/cdc-ext/
mvn clean package -DskipTests -Dmaven.javadoc.skip=true -
A JAR file
ignite-cdc-ext-1.0.0-SNAPSHOT.jaris created at the following location:.ignite-extensions/modules/cdc-ext/target/ignite-cdc-ext-1.0.0-SNAPSHOT.jar -
Copy the
ignite-cdc-ext-1.0.0-SNAPSHOT.jarfile in thelibfolder of the installation folder.$BE_HOME/lib/ext/tpcl/apache/ignite
<name>.ignite-cdc-ext-1.0.0-SNAPSHOT.jar file is copied to the $BE_HOME/lib/ext/tpcl/apache/ignite folder.