Skip to content

Commit afeae43

Browse files
authored
Upgrade Neo4j images to Neo4j version 5. (#623)
Remove the `kafka.bootstrap.servers` property because it would depend on the build in streams support. As a dependency of the upgrade, the password needs to be at least 8 characters long.
1 parent 1294daa commit afeae43

16 files changed

+19
-21
lines changed

kafka-connect-neo4j/config/sink-quickstart.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ errors.log.enable=true
99
errors.log.include.messages=true
1010
neo4j.server.uri=bolt://neo4j:7687
1111
neo4j.authentication.basic.username=neo4j
12-
neo4j.authentication.basic.password=connect
12+
neo4j.authentication.basic.password=kafkaconnect
1313
neo4j.encryption.enabled=false
1414
neo4j.topic.cypher.my-topic=MERGE (p:Person{name: event.name, surname: event.surname}) MERGE (f:Family{name: event.surname}) MERGE (p)-[:BELONGS_TO]->(f)

kafka-connect-neo4j/doc/contrib.sink.avro.neo4j.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"errors.log.include.messages": true,
1111
"neo4j.server.uri": "bolt://neo4j:7687",
1212
"neo4j.authentication.basic.username": "neo4j",
13-
"neo4j.authentication.basic.password": "connect",
13+
"neo4j.authentication.basic.password": "kafkaconnect",
1414
"neo4j.encryption.enabled": false,
1515
"neo4j.topic.cypher.my-topic": "MERGE (p:Person{name: event.name, surname: event.surname, from: 'AVRO'}) MERGE (f:Family{name: event.surname}) MERGE (p)-[:BELONGS_TO]->(f)"
1616
}

kafka-connect-neo4j/doc/contrib.sink.string-json.neo4j.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"errors.log.include.messages": true,
1414
"neo4j.server.uri": "bolt://neo4j:7687",
1515
"neo4j.authentication.basic.username": "neo4j",
16-
"neo4j.authentication.basic.password": "connect",
16+
"neo4j.authentication.basic.password": "kafkaconnect",
1717
"neo4j.encryption.enabled": false,
1818
"neo4j.topic.cypher.my-topic": "MERGE (p:Person{name: event.name, surname: event.surname, from: 'JSON'}) MERGE (f:Family{name: event.surname}) MERGE (p)-[:BELONGS_TO]->(f)"
1919
}

kafka-connect-neo4j/doc/contrib.source.avro.neo4j.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"value.converter": "io.confluent.connect.avro.AvroConverter",
88
"neo4j.server.uri": "bolt://neo4j:7687",
99
"neo4j.authentication.basic.username": "neo4j",
10-
"neo4j.authentication.basic.password": "connect",
10+
"neo4j.authentication.basic.password": "kafkaconnect",
1111
"neo4j.encryption.enabled": false,
1212
"neo4j.streaming.poll.interval.msecs": 5000,
1313
"neo4j.streaming.property": "timestamp",

kafka-connect-neo4j/doc/contrib.source.string-json.neo4j.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"value.converter": "org.apache.kafka.connect.json.JsonConverter",
88
"neo4j.server.uri": "bolt://neo4j:7687",
99
"neo4j.authentication.basic.username": "neo4j",
10-
"neo4j.authentication.basic.password": "connect",
10+
"neo4j.authentication.basic.password": "kafkaconnect",
1111
"neo4j.encryption.enabled": false,
1212
"neo4j.streaming.poll.interval.msecs": 5000,
1313
"neo4j.streaming.property": "timestamp",

kafka-connect-neo4j/doc/contrib.source.string.neo4j.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"value.converter": "org.apache.kafka.connect.storage.StringConverter",
88
"neo4j.server.uri": "bolt://neo4j:7687",
99
"neo4j.authentication.basic.username": "neo4j",
10-
"neo4j.authentication.basic.password": "connect",
10+
"neo4j.authentication.basic.password": "kafkaconnect",
1111
"neo4j.encryption.enabled": false,
1212
"neo4j.streaming.poll.interval.msecs": 5000,
1313
"neo4j.streaming.property": "timestamp",

kafka-connect-neo4j/doc/docker-compose.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
version: '2'
33
services:
44
neo4j:
5-
image: neo4j:4.3-enterprise
5+
image: neo4j:5-enterprise
66
hostname: neo4j
77
container_name: neo4j
88
ports:
99
- "7474:7474"
1010
- "7687:7687"
1111
environment:
12-
NEO4J_kafka_bootstrap_servers: broker:9093
13-
NEO4J_AUTH: neo4j/connect
12+
NEO4J_AUTH: neo4j/kafkaconnect
1413
NEO4J_dbms_memory_heap_max__size: 8G
1514
NEO4J_ACCEPT_LICENSE_AGREEMENT: yes
1615

kafka-connect-neo4j/docker/contrib.sink.avro.neo4j.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"errors.log.include.messages": true,
1212
"neo4j.server.uri": "bolt://neo4j:7687",
1313
"neo4j.authentication.basic.username": "neo4j",
14-
"neo4j.authentication.basic.password": "connect",
14+
"neo4j.authentication.basic.password": "kafkaconnect",
1515
"neo4j.encryption.enabled": false,
1616
"neo4j.topic.cypher.my-topic": "MERGE (p:Person{name: event.name, surname: event.surname}) MERGE (f:Family{name: event.surname}) MERGE (p)-[:BELONGS_TO]->(f)"
1717
}

kafka-connect-neo4j/docker/contrib.sink.string-json.neo4j.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"errors.log.include.messages": true,
1515
"neo4j.server.uri": "bolt://neo4j:7687",
1616
"neo4j.authentication.basic.username": "neo4j",
17-
"neo4j.authentication.basic.password": "connect",
17+
"neo4j.authentication.basic.password": "kafkaconnect",
1818
"neo4j.encryption.enabled": false,
1919
"neo4j.topic.cypher.my-topic": "MERGE (p:Person{name: event.name, surname: event.surname}) MERGE (f:Family{name: event.surname}) MERGE (p)-[:BELONGS_TO]->(f)"
2020
}

kafka-connect-neo4j/docker/contrib.source.avro.neo4j.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"value.converter.schema.registry.url": "http://schema_registry:8081",
1010
"neo4j.server.uri": "bolt://neo4j:7687",
1111
"neo4j.authentication.basic.username": "neo4j",
12-
"neo4j.authentication.basic.password": "connect",
12+
"neo4j.authentication.basic.password": "kafkaconnect",
1313
"neo4j.encryption.enabled": false,
1414
"neo4j.streaming.poll.interval.msecs": 5000,
1515
"neo4j.streaming.property": "timestamp",

0 commit comments

Comments
 (0)