When using the Data Lake sink, the incoming events are stored in an InfluxDB.
Implementation
The concrete implementation comprises a DataLake class, a DataLake Controller class, a DataLake InfluxDBClient class and a DataLake Parameters class. The code is basically the same as for the InfluxDB sink (org.apache.streampipes.sinks.databases.jvm.influxdb).
DataLake Parameters Class
The parameter class defines the necessary parameters for the configuration of the sink.
- influxDbHost:
- influxDbPort:
- databaseName:
- measureName:
- user:
- password:
- timestampField
- batchSize:
- flushDuration:
- dimensionProperties:
References:
- Apache StreamPipes Documentation: https://streampipes.apache.org/docs/docs/pe/org.apache.streampipes.sinks.internal.jvm.datalake/