OverviewArchitectureRecipeSourceProcessorSinkContext Graph for AI
OverviewArchitectureRecipeSourceProcessorSinkContext Graph for AI

Kafka

Publishes each record to a Kafka topic. The message value is the record as JSON.

Usage

sinks:
  - name: kafka
    config:
      brokers: "localhost:9092"
      topic: metadata-topic
      key_path: ".Urn"

Configuration

KeyTypeDescriptionRequired
brokersstringComma-separated list of Kafka broker addressesrequired
topicstringKafka topic to publish messages torequired
key_pathstringEntity field to use as the message key, e.g. .Urn. Only top-level string fields work.optional

Output format

The message value is the whole record as JSON: {"entity": {...}, "edges": [...]} with snake_case keys. The edges field is left out when a record has no edges. Only the message key is protobuf-encoded, and only when key_path is set.

Notes

  • The message key controls which partition a message goes to. With key_path set, records with the same key value land on the same partition. Without it, messages are spread across partitions.
  • key_path supports only one level, such as .Urn or .Name. Nested paths are not supported, and the field must be a string.
HTTPAmazon S3
On this page
UsageConfigurationOutput formatNotes