confluentinc/ksql

Get clickstream demo working with latest ES (v6.6)

Open

#1,087 创建于 2018年3月28日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Java (1,048 fork)batch import
documentationhelp wanteduser-experience

仓库指标

Star
 (5,739 star)
PR 合并指标
 (平均合并 4天 20小时) (30 天内合并 6 个 PR)

描述

Current demo only works with ES v5.6.x, whereas latest ES is v6.6. Would be good to get the demo working with the latest ES.

Previous attempt failed and ran out of time to problem solve.

@rmoff Also did some work and thinks removing the "index": "not_analyzed" may be the trick, but need to test:

PUT /_template/kafkaconnect/
{
  "index_patterns": "*",
  "settings": {
    "number_of_shards": 1,
    "number_of_replicas": 0
  },
  "mappings": {
    "_default_": {
      "dynamic_templates": [
        {
          "dates": {
            "match": "EXTRACT_TS",
            "mapping": {
              "type": "date"
            }
          }
        },
        {
          "non_analysed_string_template": {
            "match": "*",
            "match_mapping_type": "string",
            "mapping": {
              "type": "keyword"
            }
          }
        }
      ]
    }
  }
}

贡献者指南