Kafka Message Keys
You can enable the Kafka origin and destination and the MapR Event Store origin and destination to process Kafka message keys. These stages cannot process message keys when the stage is configured to process delimited data.
Note: To process Kafka message keys with the
JSON data format, Apache Spark version 2.4 or later must be installed on the
Transformer machine and on each node in the cluster.
Stages handle Kafka message keys as follows:
- Origins
- The Kafka origin and the MapR Event Store origin can capture the message
keys included in each Kafka message and store them in generated records. The
origin writes the message key to a String field named
key
. - Destinations
- The Kafka destination and the MapR Event Store destination can pass values in a specified field to the destination system as Kafka message keys.