Book a demo

← Documentation

Sending Rows to a Kafka Topic

A batch job can also send records to Kafka instead of writing them into tables. Each mapped record becomes one JSON event on a topic.

Add a Kafka connection

In Connections, create a connection of type Kafka with its Bootstrap Servers, Security Protocol and, for SASL, the SASL Mechanism and credentials. Use Test to check it. Kafka connections are listed under the Streaming filter.

Map to topics

When you map a legacy source onto a Kafka connection, each record type gets its own Topic and Key instead of a table. The key defaults to the source's primary key. The Event preview shows the fields each event carries. Topics that do not exist yet are marked New and are created in Review topics; a run never creates a topic itself.

Run it

Choose Run batch on the Kafka connection to send its mapped sources to their topics. A dry run checks the brokers and topics and reports what would be sent, without sending anything.

Delivery

Each chunk of messages is confirmed by the brokers before the run moves on. Rerunning a job produces the same keys, so consumers can remove duplicates. After a stop and continue, at most the last chunk is sent again.

Send batch records to Kafka as JSON events, one topic per record type.

Read more

Tell us about yourself

You've been browsing the catalog. Leave your details to keep exploring.

Privacy policy