Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IGNITE-19528 CDC examples with cdc-start-up.sh #285

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 20 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions modules/cdc-ext/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Apache Ignite Change Data Capture Module
------------------------

Apache Ignite CDC is a data processing pattern used to asynchronously receive entries that have been changed on the local node so that action can be taken using the changed entry.

This module provides the clients with a simple CDC implementations strategies for inter-cluster communication. Active-Passive and Active-Active replication regimes can be established with different CDC clients. Each such client should be started up for each node participating in CDC.
maksaska marked this conversation as resolved.
Show resolved Hide resolved

==== Installation
maksaska marked this conversation as resolved.
Show resolved Hide resolved

. Build `cdc-ext` module with maven:
+
```console
$~/src/ignite-extensions/> mvn clean install -f modules/cdc-ext -Pcheckstyle,extension-release,skip-docs -DskipTests
$~/src/ignite-extensions/> ls modules/cdc-ext/target | grep zip
ignite-cdc-ext.zip
maksaska marked this conversation as resolved.
Show resolved Hide resolved
```

. The resulting binary will be located under 'target' directory. Unpack `ignite-cdc-ext.zip` archive to `$IGNITE_HOME` folder to enable CDC.

For Linux/Macos you can use in the ignite root with cdc binary:
+
```console
$ unzip ignite-cdc-ext-bin.zip
$ cp -r ignite-cdc-ext/* .
```

Now, you have additional binary `$IGNITE_HOME/bin/kafka-to-ignite.sh` and `$IGNITE_HOME/libs/optional/ignite-cdc-ext` module.
maksaska marked this conversation as resolved.
Show resolved Hide resolved

Use Apache Ignite documentation to explore CDC capabilities.
5 changes: 5 additions & 0 deletions modules/cdc-ext/assembly/cdc-ext.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,10 @@
<outputDirectory>${project.artifactId}/bin</outputDirectory>
<fileMode>755</fileMode>
</fileSet>
<fileSet>
<directory>${basedir}/examples</directory>
<outputDirectory>${project.artifactId}/examples</outputDirectory>
<fileMode>755</fileMode>
</fileSet>
</fileSets>
</assembly>
Loading