Configuring Kafka Producers for Stream Processing
summary
Overview of concrete configs and a live failure test: a Java Flink job writes string messages via Kafka producers configured with bootstrap.servers (multiple hosts), acks=1, and retries; cluster runs three brokers + Zookeeper with replication factor 3 and topic partitions one, parallelism set to 1. The console consumer shows continuous output; killing the leader broker triggers leader failover and the producer keeps publishing with minimal delay. Data Artisans example uses Kafka 0.8; upgrade to 1.0 (at-least-once improvements) is noted.
AI-written summary · about
chapters (23)
- 0:00Intro
- 0:32About Nsemeke
- 1:32Agenda
- 3:00Trends
- 5:14Things for Strategy
- 6:35Data Shot
- 7:36Keiko
- 8:17Flow
- 9:06Customer Interaction
- 10:49Touchpoint Architecture
- 12:15Customer Interactions
- 13:27Architectures
- 13:53Architecture Dimensions
- 14:13Streaming Data Pipeline
- 15:07Apache Kafka
- 16:07Kafka Architecture
- 18:06Kafka Topics
- 19:27Kafka Stack
- 22:22Running the program
- 26:12Starting the application
- 29:08Failed attempts
- 33:23Recreating the topic
- 34:43Demonstration
