Skip to content

Instantly share code, notes, and snippets.

@bpot
Last active August 29, 2015 14:03
Show Gist options
  • Save bpot/2f206c02ed6371331a77 to your computer and use it in GitHub Desktop.
Save bpot/2f206c02ed6371331a77 to your computer and use it in GitHub Desktop.

Kafka failures when sending to a single topic:

  • We can't connect to any brokers
  • We connect to a broker but cluster metadata fetch fails
  • Metadata doesn't know about topic
  • Metadata has no leader for that partition we want to send to
  • There is a leader for the partition but we can't connect to it
  • There is a leader for the partition and we sent the request but we timedout or the connection broke (unclear if success)
  • There is a leader for the partition and we sent the request but the broker returned an error
  • There is a leader for the partition, required_acks > 1 and we sent the request but the leader didn't receive acks in time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment