How projected1/kafka-spring-boot-demo works
Main Components
a. Infrastructure Layer:
• Zookeeper Server (for Kafka cluster management)
• Multiple Kafka Brokers (show at least kafka-server1 and kafka-server2)
• Kafka Topics (show the 'example' topic with its partitions)
b. Application Components:
• Spring Boot Application
• Kafka Producer Configuration
• Kafka Consumer Configuration
• Topic Configuration
• Consumer Service
Specific Elements
a. Infrastructure Components:
• Docker network (kafka-net) boundary
b. Application Components:
• KafkaProducerConfiguration
• KafkaConsumerConfiguration
• KafkaTopicConfiguration
• KafkaConsumerService
c. Message Flow:
Spring Boot → Kafka Brokers
Kafka Brokers → Consumer Group
Important Details to Highlight
• Consumer group concept as illustrated in the README's image
• Partition distribution across brokers
• Port mappings (2181 for Zookeeper, 9092/9093 for Kafka)
• Docker network boundary