Capture Kafka events in a Databricks Delta table

Upsert each polled text event under a key composed of its Kafka topic, partition and offset.

4 stepsProduct and engineering

Free to start, no card required.

How it works

  1. When this happens

    Text event polled from Kafka

    Apache Kafka

  2. Step 1 · Code

    Build the event key and row

  3. Step 2

    Check for a text event

    Follows the first path that matches

    • Text event with offset

      1. Step 3 · Databricks

        Upsert the event in Delta

    • Otherwise

      Nothing happens

Before you start

Choose a Kafka topic and a dedicated consumer group for analytics. Select a Delta table with STRING columns event_id and payload, using event_id as the match column. Kafka commits offsets before the write, so replay failed runs from flow history.

Accounts to connect

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template