Skip to content

Instantly share code, notes, and snippets.

@gwenshap
Created February 6, 2017 15:20
Show Gist options
  • Save gwenshap/30f023d4d3fdf7466d5c9d99c55e4bdc to your computer and use it in GitHub Desktop.
Save gwenshap/30f023d4d3fdf7466d5c9d99c55e4bdc to your computer and use it in GitHub Desktop.
Kafka Joke
Producer: Hey, bootstrap server, I want to tell a Kafka joke, who do I tell it to?
Broker 5: Broker 1 is our Kafka jokes leader, talk to them.
Producer: Hey, Broker 1, here's a great Kafka joke, make sure you friends all hear it too!
Broker 2: Hey Broker 1, do you have any new Kafka jokes for me?
Broker 1: Here's the latest!
Broker 3: .... (for 10 seconds)
Broker 5: OK, no problems, everyone got it. Great joke! Thanks!
Broker 3: Oh! Good morning! Hey Broker 1, any new jokes?
Broker 1: Sure! Here's the latest!
Consumer: Hey, bootstrap server, I want the latest Kafka jokes, who do I talk to?
Broker 4: Broker 1 is our kafka jokes leader, talk to them.
Consumer: Broker 1, got any new Kafka jokes for me?
Broker 1: Nope.
@dondomainer
Copy link

hahaha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment