flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jinfeng (Jira)" <j...@apache.org>
Subject [jira] [Created] (FLINK-24072) Add support for setting default headers in elasticsearch connector
Date Tue, 31 Aug 2021 08:21:00 GMT
jinfeng created FLINK-24072:
-------------------------------

             Summary: Add support for setting default headers in elasticsearch connector
                 Key: FLINK-24072
                 URL: https://issues.apache.org/jira/browse/FLINK-24072
             Project: Flink
          Issue Type: Improvement
          Components: Connectors / ElasticSearch
            Reporter: jinfeng


If we add support for setting default headers , we can add some head options in sql options.


The ddl would be like this. 
{code:sql}
// Some comments here
create table es-sink (
  a varchar,
  b varchar
) with (
  'connector' = 'elasticsearch-7',
  'connection.default-headers' = 'Authorization:xxxxxxx'
);
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message