Confluent Connectors Portfolio
Kafka Elasticsearch Connector Tutorial with Examples

Kafka Elasticsearch Connector Tutorial with Examples

3/4/2020 · Danny Kay

What this post added

This post details the Elasticsearch sink connector for Kafka Connect, explaining its purpose, installation via Confluent Hub, and configuration for transferring JSON data from Kafka to Elasticsearch. It covers common issues like deserialization errors due to incorrect converter configuration and demonstrates how to resolve them by specifying the JSON converter and handling schema and key ignoring. The post also explores using the connector with messages that have keys and schemas, and introduces Single Message Transforms (SMTs) like RegexRouter and TimestampRouter for modifying index names.

Read the original post ↗