- All Implemented Interfaces:
- AutoCloseable, Sink<org.apache.pulsar.client.api.schema.GenericRecord>
public class InfluxDBGenericRecordSink
extends InfluxDBAbstractSink<org.apache.pulsar.client.api.schema.GenericRecord>
A Simple InfluxDB sink, which interprets input Record in generic record.
In order to successfully parse and write points to InfluxDB, points must be in InfluxDB’s Line Protocol format.
This class expects records from Pulsar to have a field named 'measurement', a field named 'tags' if necessary.