The Simplest Useful Kafka Connect Data Pipeline in the World – Part 3
Sep 7, 2017Robin Moffatt

Summary
This post details the practical application of Kafka Connect Single Message Transforms (SMTs) for common data pipeline tasks. It demonstrates how to use SMTs to set message keys from database columns (e.g., JDBC source), embed topic names and custom source details for data lineage, mask or drop sensitive fields (e.g., MaskField, ReplaceField), and route messages to different topics using regular expressions (RegexRouter) or timestamps (TimestampRouter). It also provides configuration examples and workarounds for potential issues like null keys in Elasticsearch sinks.
More from the Kafka Connect Single Message Transforms trail
- Single Message Transforms in Kafka Connect
- 4 Steps to Creating Apache Kafka Connectors with the Kafka Connect API
- How to Connect KSQL to Confluent Cloud using Kubernetes with Helm | Confluent
- Dawn of Kafka DevOps: Managing Multi-Cluster Kafka Connect and KSQL with Control Center | Confluent
- Dawn of Kafka DevOps: Managing Kafka Clusters at Scale with Control Center | Confluent