tags : Distributed Systems, Infrastructure, Message Passing, Zookeeper

What

Gotchas

  • Kafka doesn’t scale well with partitions, throughput falls over quickly especially if using replication and acks.
  • If each user has a topic your partitions are unbounded. You have at least one partition per user.
    • Instead, I’d use a single notification topic, set a reasonable number of partitions on it and partition by user id.

Resources