Apache Kafka and Scala - A Beginner’s Tutorial
Dec 8, 2020Loic Divad

Summary
This post provides a beginner's tutorial for Scala developers on producing and consuming records in Apache Kafka. It covers setting up a Scala project with Kafka clients and Confluent serializers, configuring producers with Avro serialization and Schema Registry integration, and demonstrates three production scenarios: batching records with linger.ms, sending single events with event time and headers, and performing transactional writes. It also highlights the use of Avro4s for serialization and pureconfig for configuration.