创建ElasticSearch(ES)结果表
创建 ElasticSearch 结果表 注意:本文档只适合独享模式下使用。 ElasticSearch 结果表的实现使用 REST API,理论上兼容 ElasticSearch 的各个版本。以下将 ElasticSearch 简称为 ES。 ES 需要定义的 DDL 如下: create table es_stream_sink( field1 long, field2 varbianary, field3 varchar ) with ( type ='elasticsearch', endPoint = 'http://127.0.0.1:9211', accessId = 'abcd', accessKey = 'efgh', index = 'mockIdx', typeName = 'mockType' ... ); WITH参数 通用配置: 参数 注释说明 默认值 Required endPoint server 地址,例:http://127.0.0.1:9211 无 是 accessId 访问实例 id 无 是 accessKey 访问实例密钥 无 是 index ...