Skip to content

Commit f6158cf

Browse files
conker84jexp
authored andcommitted
Added Kafka Connect Docs (#137)
* added Kafka Connect to Documentation, improved build kafka-connect build process * Update README.md * Update readme.adoc
1 parent 3aa0daa commit f6158cf

File tree

16 files changed

+112
-172
lines changed

16 files changed

+112
-172
lines changed

common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<artifactId>neo4j-streams-common</artifactId>
99
<name>Neo4j Streams - Common</name>
1010
<description>Neo4j Streams - Commons Package</description>
11-
<version>3.4.0</version>
11+
<version>${project.parent.version}</version>
1212
<packaging>jar</packaging>
1313

1414
<parent>

consumer/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>org.neo4j</groupId>
88
<artifactId>neo4j-streams-consumer</artifactId>
9-
<version>3.4.0</version>
9+
<version>${project.parent.version}</version>
1010
<name>Neo4j Streams - Consumer</name>
1111
<description>Neo4j Streams - Kafka Consumer</description>
1212
<packaging>jar</packaging>
@@ -21,7 +21,7 @@
2121
<dependency>
2222
<groupId>org.neo4j</groupId>
2323
<artifactId>neo4j-streams-common</artifactId>
24-
<version>3.4.0</version>
24+
<version>${project.parent.version}</version>
2525
</dependency>
2626
</dependencies>
2727

doc/asciidoc/index.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
== Motivation
99

10-
Many user and customers want to integrate Kakfa and other streaming solutions with Neo4j.
10+
Many user and customers want to integrate Kafka and other streaming solutions with Neo4j.
1111
Either to ingest data into the graph from other sources.
1212
Or to send update events (change data capture - CDC) to the event log for later consumption.
1313

@@ -18,8 +18,7 @@ The project is composed of several parts:
1818
* Neo4j Streams Procedure: a procedure to send a payload to a topic
1919
* Neo4j Streams Producer: a transaction event handler events that sends data to a Kafka topic
2020
* Neo4j Streams Consumer: a Neo4j application that ingest data from Kafka topics into Neo4j via templated Cypher Statements
21-
22-
In the next releases we will add Kafka-Connect connectors as well.
21+
* Kafka-Connect Plugin: a plugin for the Confluent Platform that allows to ingest data into Neo4j, from Kafka topics, via Cypher queries.
2322

2423
== Installation
2524

@@ -53,4 +52,6 @@ include::consumer/index.adoc[]
5352

5453
include::procedures/index.adoc[]
5554

56-
include::docker/index.adoc[]
55+
include::docker/index.adoc[]
56+
57+
include::kafka-connect/index.adoc[]
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
== Kafka Connect
2+
3+
Kafka Connect, an open source component of Apache Kafka, is a framework for connecting Kafka with external systems such as databases, key-value stores, search indexes, and file systems.
4+
5+
The Neo4j Streams project provides a Kafka Connect plugin that can be installed into the Confluent Platform enabling:
6+
7+
- Ingest data from Kafka topics directly into Neo4j via templated Cypher queries;
8+
- Stream Neo4j transaction events (*coming soon*).
9+
10+
=== Docker compose file
11+
12+
Inside the directory `/kafka-connect-neo4j/docker` you'll find a compose file that allows you to start the whole testing environment:
13+
14+
.docker-compose.yml
15+
[source,yaml]
16+
----
17+
include::../../../kafka-connect-neo4j/docker/docker-compose.yml[]
18+
----
19+
20+
include::../../../kafka-connect-neo4j/docker/readme.adoc[]

doc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>org.neo4j</groupId>
88
<artifactId>neo4j-streams-docs</artifactId>
9-
<version>3.4.0</version>
9+
<version>${project.parent.version}</version>
1010
<name>Neo4j Streams - Docs</name>
1111
<description>Neo4j Streams - Documentation</description>
1212

kafka-connect-neo4j/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ Inside the directory `<neo4j-streams>/kafka-connect-neo4j/target/component/packa
1212

1313
# Run with docker
1414

15-
Please refer to this file [readme.adoc](doc/readme.adoc)
15+
Please refer to this file [readme.adoc](docker/readme.adoc)
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Introduction
2+
3+
Welcome to your Neo4j Kafka Connect connector!
4+
5+
## Build it locally
6+
7+
Build the project by running the following command:
8+
9+
$ mvn clean install
10+
11+
Inside the directory `<neo4j-streams>/kafka-connect-neo4j/target/component/packages` you'll find a file named `neo4j-kafka-connect-neo4j-<VERSION>.zip`
12+
13+
## Run with docker
14+
15+
Please refer to this file [readme.adoc](doc/readme.adoc)

0 commit comments

Comments
 (0)