Overview
Publish processed data back to Kafka topics with Avro or JSON serialization.Configuration
Parameters
Must be
kafkaThe transform or source to read data from
Kafka topic name to publish to
Number of partitions for the topic (created if doesn’t exist)
Serialization format. Supported values:
avro or json.URL of the Schema Registry. Required when using
avro format, optional for json format.Features
- Multiple Formats: Choose between Avro (binary) or JSON serialization
- Auto Schema Registration: Schemas are automatically registered with Schema Registry (Avro only)
- Avro Encoding: Efficient binary serialization with schema evolution support
- JSON Encoding: Human-readable format without Schema Registry dependency
- Operation Headers:
_gs_opcolumn is included as a message header (dbz.op)
Partitioning
Goldsky uses Kafka’s default partitioning strategy based on message key hashes. The message key is constructed from the primary key column(s) of your data. Key behavior:- Key format: Primary key values joined with
_(e.g.,enriched_transaction_v2_0x6a7b...789d_1) - Partitioner: Kafka’s DefaultPartitioner (murmur2 hash)
- Partition assignment:
murmur2(keyBytes) % numPartitions
- Records with the same key always go to the same partition, ensuring ordering per key
- Increasing partitions will cause key redistribution — existing keys may map to different partitions
- Global ordering is not guaranteed; only per-key ordering is maintained