A Kafka Connect plugin for transferring data between XTDB nodes and Kafka.
The XTDB source connector will publish transacations on a node to a Kafka topic, and the sink connector can receive transactions from a Kafka topic and submit them to a node.
Data format | Sink/Source |
---|---|
JSON | Both |
Avro | Sink |
Transit | Source |
EDN | Both |
To get started with the connector, there are two separate guides (depending on whether you are using a full Confluent Platform installation, or a basic Kafka installation):
Destination URL of XTDB HTTP end point
Type: String
Importance: High
Default: "http://localhost:3000"
The Kafka topic to publish data to
Type: String
Importance: High
Default: "connect-test"
Format to send data out as: edn, json or transit
Type: String
Importance: Low
Default: "edn"
Mode to use: tx or doc
Type: String
Importance: Low
Default: "tx"
The maximum number of records the Source task can read from XTDB at one time.
Type: Int
Importance: LOW
Default: 2000
Destination URL of XTDB HTTP end point
Type: String
Importance: High
Default: "http://localhost:3000"
Record key to use as :xt/id
Type: String
Importance: Low
Default: "xt/id"
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close