[ https://issues.apache.org/jira/browse/FLINK-17116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17082218#comment-17082218 ]
Jark Wu commented on FLINK-17116: --------------------------------- Yes. This is duplicated by FLINK-16788. Hi [~yuchuanchen], thanks for opening this issue. Please move to FLINK-16788 for further discussion. > 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 > Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > 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)