How does Kafka handle cross-datacenter replication and what is MirrorMaker?

Heisenbug logo
TheHeisenBug

Search

Search across questions, learning content, and hands-on projects

Ace Your Next Tech Interview

5,986+ interview questions across 87 technologies — with expert answers, advanced search, AI-powered assistance, personal highlights, structured learning paths, and hands-on practice projects.

5,986+Questions & Answers
87Technologies
AdvancedSearch
Built-inAsk AI
PersonalHighlights
StructuredLearning Paths
Hands-onPractice Projects

Lifetime Access

One-time payment. No subscriptions. Unlock everything, forever.

$19.90USD

or R$49.90 BRL

FeatureFreePremium
Question titlesAllAll
Answers per topicTop 5All
Learning chaptersFirst 5All
Practice projectsFirst 3All
Highlights
Ask AI
Read tracking
Search

Kafka Interview Questions

  1. [JUNIOR] What is Apache Kafka and what are its primary use cases?
  2. [MID] How does Kafka ensure fault tolerance through replication?
  3. [JUNIOR] What are the key components of Kafka's architecture?
  4. [JUNIOR] What is a topic in Kafka?
  5. [JUNIOR] What is a partition in Kafka and why is it important?
  6. [MID] How does Kafka handle message delivery semantics (at-least-once, at-most-once, exactly-once)?
  7. [MID] What is the role of In-Sync Replicas (ISR) in Kafka?
  8. [SENIOR] How does Kafka ensure high availability and what happens during broker failures?
  9. [JUNIOR] What is a broker in Kafka?
  10. [JUNIOR] What is the role of ZooKeeper in Kafka?
  11. [JUNIOR] What is the purpose of the offset in Kafka?
  12. [MID] How does Kafka support horizontal scalability?
  13. [MID] What is log compaction in Kafka and when would you use it?
  14. [MID] How does Kafka handle message ordering within and across partitions?
  15. [MID] What is the significance of the acks parameter in Kafka producers?
  16. [SENIOR] How does Kafka handle consumer group rebalancing and what are its implications?
  17. [SENIOR] What is the purpose of the Kafka Transactions API and how does it enable exactly-once semantics?
  18. [JUNIOR] What is a consumer group in Kafka?
  19. [JUNIOR] What is the concept of leader and follower replicas in Kafka?
  20. [MID] What is the purpose of the Kafka Connect API?
  21. [MID] How does Kafka handle data replication across brokers?
  22. [MID] What is the purpose of an idempotent producer in Kafka?
  23. [MID] How does Kafka handle message compression?
  24. [SENIOR] What parameters should you tune for optimal Kafka performance?
  25. [SENIOR] How does Kafka handle cross-datacenter replication and what is MirrorMaker?
  26. [SENIOR] What is the difference between Kafka Streams and Apache Flink?
  27. [EXPERT] How does Kafka leverage the OS page cache for performance and what are the implications for JVM tuning?
  28. [JUNIOR] What are the main APIs provided by Kafka?
  29. [JUNIOR] What is the maximum size of a message that Kafka can receive?
  30. [MID] What is the difference between a round-robin partitioner and a key-based partitioner in Kafka?
  31. [MID] What is the role of the controller broker in a Kafka cluster?
  32. [MID] How does Kafka handle consumer offset management?
  33. [MID] How does Kafka handle message serialization and deserialization?
  34. [SENIOR] What is a Kafka Schema Registry and how does it handle schema evolution?
  35. [SENIOR] How do you monitor and manage consumer lag in Kafka?
  36. [SENIOR] How would you expand a Kafka cluster without downtime?
  37. [EXPERT] What are the trade-offs of different replication factors and min.insync.replicas settings?
  38. [EXPERT] How does Kafka handle exactly-once semantics at the transactional level across producers and consumers?
  39. [JUNIOR] What is a Kafka producer and what does the Producer API do?
  40. [JUNIOR] What is the retention period in a Kafka cluster?
  41. [MID] What is the difference between Kafka and RabbitMQ?
  42. [MID] What is the difference between commitSync() and commitAsync() in Kafka consumers?
  43. [MID] What is the auto.offset.reset configuration and when is it used?
  44. [SENIOR] What is the difference between Kafka Streams and Spark Streaming?
  45. [SENIOR] What are Kafka quotas and how are they configured?
  46. [SENIOR] How does Kafka handle message de-duplication?
  47. [EXPERT] How does Kafka's log segmentation work and what is the role of log.segment.bytes and log.segment.ms?
  48. [EXPERT] What are the implications of changing the number of partitions for an existing topic?
  49. [EXPERT] How does the Kafka consumer coordinator and group coordinator work internally?
  50. [JUNIOR] What is geo-replication in Kafka?
  51. [MID] How does Kafka handle message batching on the producer side?
  52. [MID] What is the purpose of the linger.ms parameter in Kafka producers?
  53. [SENIOR] What is an unbalanced Kafka cluster and how can you rebalance it?
  54. [SENIOR] What is the purpose of graceful shutdown in Kafka?
  55. [EXPERT] How does Kafka handle message compression at the broker level versus the producer level?
  56. [EXPERT] What causes BufferExhaustedException and OutOfMemoryException in Kafka and how do you prevent them?
  57. [JUNIOR] Can Kafka be used without ZooKeeper?
  58. [MID] What is multi-tenancy in Kafka?
  59. [SENIOR] How does Kafka enforce security with authentication, authorization, and encryption?
  60. [EXPERT] How does Kafka's controlled shutdown process work and why is it important for data integrity?
  61. [EXPERT] What is the purpose of the max.block.ms parameter in Kafka producers and how does it affect backpressure?
  62. [EXPERT] How does Kafka handle message timestamps and time-based log indexing?
  63. [EXPERT] What are the internals of Kafka's state stores in Kafka Streams and how does RocksDB fit in?