The project provides Neo4j sink and source connector implementations for Kafka Connect platform.
Read more at https://neo4j.com/docs/kafka/.
Please raise issues on Github. We also love contributions, so don't be shy to send a Pull Request.
Make sure you install ruby and direnv
and configure direnv for your bash.
First, install the configured version of dip using ruby bundle:
bundle installFor the end-to-end tests, you need to provision a local Kafka cluster, Kafka Connect instance and a Neo4j server. This is done by running (re-running recreates the containers):
dip provisionMake sure direnv exports environment variables by running:
direnv allow .You can build and package the project using (as many as time as necessary):
mvn verifyYou'll find the connector archive
at packaging/target/neo4j-kafka-connect-{version}.zip.
TL;DR? You can run dip format.
For Kotlin code, we follow the ktfmt code style. There is an .editorconfig file
to mimic the underlying style guides for built-in Intellij code style rules, but we recommend
ktfmt IntelliJ Plugin for formatting. Remember that your builds will
fail if your changes doesn't match the enforced code style, but you can use ./mvnw spotless:apply to format your code.
For POM files, we are using sortpom to have a tidier project object model. Remember
that your builds will fail if your changes doesn't conform to the enforced rules, but you can use ./mvnw sortpom:sort
to format it accordingly.
The documentation source for this version lives at this repository. Please raise any documentation updates by creating a PR against it.
Neo4j Connector for Kafka is licensed under the terms of the Apache License, version 2.0. See LICENSE for more
details.