Skip to content

Commit dab9228

Browse files
committed
Update docker-compose for testing of the kafka plugin
1 parent f6158cf commit dab9228

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

kafka-connect-neo4j/docker/readme.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ Create a directory `plugins` at the same level of the compose file and unzip the
1212

1313
docker-compose up -d
1414

15+
You can access your Neo4j instance under: http://localhost:7474, log in with `neo4j` as username and `connect` as password (see the docker-compose file to change it).
16+
17+
The insertion is sped up, if you create these two indexes:
18+
19+
[source,cypher]
20+
----
21+
CREATE INDEX ON :Person(surname);
22+
CREATE CONSTRAINT ON (f:Family) ASSERT f.name IS UNIQUE;
23+
----
24+
1525
Create the Sink instance:
1626

1727
We'll define the Sink configuration as follows:
@@ -72,6 +82,8 @@ Please check that everything is fine by going into:
7282

7383
http://localhost:9021/management/connect
7484

85+
(or on 0.0.0.0 instead of localhost depending on your Docker environment)
86+
7587
and click to the **Sink** tab. You must find a table just like this:
7688

7789
[cols="4*",options="header"]

0 commit comments

Comments
 (0)