Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Flink-1.0
-
None
Description
The org.apache.flink.streaming.connectors.influxdb.sink.InfluxDBSinkOptions class only supports username and password for authentication. This results in basic authentication being used by the underlying com.influxdb.client.InfluxDBClient instance. If the influxdb instance restarts, the session token retrieved from the basic authentication flow expires, resulting in all subsequent writes failing.
The access token is a more durable authentication method. A token option should be added to the org.apache.flink.streaming.connectors.influxdb.sink.InfluxDBSinkOptions class.
Attachments
Issue Links
- links to