The linker is a [kafka sink](https://docs.confluent.io/current/connect/kafka-connect-elasticsearch/index.html) for the [neo4j](https://neo4j.com/) graph database. It consumes messages from the `linker` topic and writes them to the database.
## Neo4jStreamWriter
The Neo4jStreamWriter consumes a stream of kafka messages and writes the content of the message to the database. It is very simple and can handle backpressure.
## Docker
To build the image use the following command. The container is based on the [histub/ node-kafka-docker-base](https://source.dodis.ch/histhub/node-kafka-docker-base).