rbiodies / FizzBuzz

:mailbox_with_mail: Optimized FizzBuzz using Apache Kafka with Spring Boot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FizzBuzz

The objectives of this project:

  1. Install Apache Kafka.
  2. Create a topic and write numbers from 1 to 1 million in Kafka.
  3. Write a Java application that reads numbers from Kafka and uses the FizzBuzz algorithm.
  4. 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.

Resources

  1. Intro to Apache Kafka with Spring
  2. Using Kafka with Spring Boot

About

:mailbox_with_mail: Optimized FizzBuzz using Apache Kafka with Spring Boot


Languages

Language:Java 100.0%