You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Kai Chen (Jira)" <ji...@apache.org> on 2020/04/13 09:36:00 UTC

[jira] [Created] (FLINK-17116) support UsernamePasswordCredentials for elasticsearch sink via SQL DDL

Kai Chen created FLINK-17116:
--------------------------------

             Summary: support UsernamePasswordCredentials for elasticsearch sink via SQL DDL
                 Key: FLINK-17116
                 URL: https://issues.apache.org/jira/browse/FLINK-17116
             Project: Flink
          Issue Type: New Feature
          Components: Connectors / ElasticSearch, Table SQL / Ecosystem
            Reporter: Kai Chen
             Fix For: 1.11.0


support UsernamePasswordCredentials for elasticsearch sink via SQL DDL.

For example:
{code:java}

CREATE TABLE es_sink (
    ...
) WITH (
  'connector.type' = 'elasticsearch',
  'connector.version' = '6',
  'connector.hosts' = 'host:port',
  'connector.index' = 'index_name',
  'connector.document-type' = 'type_name',
  'connector.credential.username' = 'es_username',
  'connector.credential.password' = 'es_password'
  ...
);
{code}



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