| Apache Ignite Pub/Sub Module |
| ----------------------------------- |
| |
| Pub/Sub module is a streaming connector to inject Pub/Sub data into Ignite cache. |
| |
| Starting data transfer to Ignite can be done with the following steps. |
| |
| 1. Import Ignite Pub/Sub Module in Maven Project |
| |
| If you are using Maven to manage dependencies of your project, you can add Pub/Sub module |
| dependency like this (replace '${ignite.version}' with actual Ignite version you are |
| interested in): |
| |
| <project xmlns="http://maven.apache.org/POM/4.0.0" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
| http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| ... |
| <dependencies> |
| ... |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-pub-sub-ext</artifactId> |
| <version>${ignite-pub-sub-ext.version}</version> |
| </dependency> |
| ... |
| </dependencies> |
| ... |
| </project> |
| |
| 2. Create an Ignite configuration file (see example-ignite.xml) and make sure it is accessible from the sink. |
| |
| 3. Make sure your data input to the sink is specified. For example `input.addSink(igniteSinkObject)` |