David Quigley created BAHIR-284:
-----------------------------------
Summary: Support Token Authentication for InfluxDB2 connector
Key: BAHIR-284
URL: https://issues.apache.org/jira/browse/BAHIR-284
Project: Bahir
Issue Type: Improvement
Components: Flink Streaming Connectors
Affects Versions: Flink-1.0
Reporter: David Quigley
Fix For: Flink-Next
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)