Skip to main content

Basic config

SSL authentication

SASL authentication

Data format

By default, if include_metadata is false, the kafka data loader returns data from value field, e.g.
Kafka supports structuring and partitioning your data. If include_metadata is set to true, the kafka data loader returns these elements as messages with data = {key: value} and metadata with (topic, partition, offset and time), e.g.

Deserialize message with protobuf schema

  • Specify the serialization_method to PROTOBUF.
  • Set the schema_classpath to the path to the Python schema class. Test whether you have access the the schema with the code in a scratchpad.

Pass raw message to transformer

Deserialize message with Avro schema in Confluent schema registry

API version

In case you are using newer versions of Kafka brokers, you should consider using corresponding Kafka api_version.