Kafka
Consume Kafka topics as typed events in Tessel, checked against your Schema Registry. Use them to start workflows from real-time streams and produce results back to the topics your services read.
Warehouse
Category
Streaming
Sync mode
p95 210 ms
Latency
8 min
Setup time
What it can do
- Message on a topicStream
- Message matching a filterStream
- Produce a messageWrite
- Produce a batchBatch
- Read from an offsetRead
Overview
The Kafka connector joins a consumer group for the topics you choose and commits offsets only after a run has accepted each message. Messages are decoded with your Schema Registry, so each one arrives as a typed event with its key, headers and partition in the trace.
Teams use it to start fraud checks from a payments topic, to land order events in Snowflake through a workflow and to publish Postgres changes to a topic that other services consume.
Supported clusters
Apache Kafka 2.8 to 4.0, self-hosted
Confluent Cloud, Amazon MSK, Aiven and Redpanda
Avro, Protobuf and JSON Schema through a Schema Registry
How consumption works
Tessel runs a consumer per connection in your region and scales it to the number of partitions. It reads with read_committed isolation, so aborted transactions never start a run, and it writes with an idempotent producer, so retries do not duplicate messages.
Ordering
Messages with the same key land on the same partition and are processed in order. Different keys run in parallel, up to the concurrency limit you set on the trigger.
Permissions needed
Create a dedicated principal for Tessel with ACLs scoped to its topics and group. It needs read access to the topics it consumes. Write access is only required if a workflow produces messages.
READandDESCRIBEon each consumed topicREADon the consumer group, such astessel-ordersWRITEon topics you produce to, plusIDEMPOTENT_WRITEon older clusters
Five steps. About eight minutes.
Most of the time goes into ACLs and network access. Tessel tests each broker before you pick topics.
- Create a principal and its SASL credentialsKafka2 min
- Add ACLs for topics and the consumer groupKafka2 min
- Allow Tessel's static IPs for your regionNetwork2 min
- Add brokers, registry URL and pick topicsTessel2 min
- Produce a test message and watch the event arriveVerify210 ms
Your streams, in a workflow today.
Connect Kafka on the free plan. Up to three builders and 10,000 runs a month, no card required.