internalsGet Pro

Module 09 · Lesson 8 of 14Pro

Kafka Connect: moving data in and out

Level
Intermediate
Topic
Event streaming with Kafka
Reading time
18 min

When you finish this page you can

  1. Explain how Kafka Connect runs connectors as tasks on a cluster of workers, and how a sink connector’s tasks share a topic’s partitions.
  2. Trace one record through a converter, transforms and a sink task, and choose what happens when a record can’t be read.
  3. Work out the file size and file count an S3 sink produces from flush.size, rotate.interval.ms and the event rate.
  4. Say exactly when the S3 sink writes each record to S3 once, and which settings break that.

Builds on 3 lessons

Start with lesson 417 min
  1. Kafka consumers: groups, commits and rebalancing17 min
  2. Debezium and CDC connectors in practice18 min
  3. The small files problem17 min

One bad click stopped the lake

is an online store in India. Its apps send about 200 million click events a day to the Kafka topic kartly.clicks. A connector called clicks-s3-sink copies them into Parquet files in S3, which the nightly Spark jobs and the finance reports read.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan