InfluxDB Sink#
The InfluxDB Sink connector is a Kafka connector that allows data to be written from Kafka topics to InfluxDB.
Configuration#
To configure an InfluxDB Sink connector in Sasquatch, add the connector configuration to the corresponding environment in Phalanx.
For example, in values-usdfdev.yaml
the connector configuration to write topics in the lsst.example
namespace to InfluxDB looks like:
kafka-connect-manager:
influxdbSink:
connectors:
example:
enabled: true
timestamp: "timestamp"
connectInfluxDb: "lsst.example"
topicsRegex: "lsst.example.*"
tags: band,instrument
timestamp
specify the field in the payload to be used as the InfluxDB time.
connectInfluxDb
is the name of the InfluxDB database to write to.
topicsRegex
specify the regex to select topics from Kafka.
tag
specify the fields in the payload to be used as InfluxDB tags.
See the kafka-connect-manager subchart for additional configuration options.