The objectives of this project:
- Install Apache Kafka.
- Create a topic and write numbers from 1 to 1 million in Kafka.
- Write a Java application that reads numbers from Kafka and uses the FizzBuzz algorithm.
- Optimize FizzBuzz.
If number % 3 == 0 then fizz.
If number % 5 == 0 then buzz.
If number % 3 == 0 and number % 5 == 0 then fizz buzz.
All others numbers are output to the console or a file or any other storage.