Documentation Index
Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
Use this file to discover all available pages before exploring further.
Before you start
- Assign access capabilities to create a hosted Kafka extractor and for the extractor to write data points, time series, events, RAW rows, and instances in data models in the target CDF project.
Deploy the extractor
Kafka is highly redundant, so when you connect to a Kafka broker, you typically connect to one or more from a list of bootstrap brokers. This tells the client which specific broker to connect to. You provide this list of bootstrap brokers to the extractor.
Message formats
Kafka is an event streaming platform from Apache that supports payloads on any format. The Cognite Kafka extractor supports several pre-defined message formats. If you want to define your own custom mapping of Kafka messages, see custom data formats for hosted extractors. Custom formats used with Kafka jobs will receive aninput argument containing the message as JSON, and a context argument containing the topic and some other message metadata, for example: