What should I check first when Apache Kafka fails?
A failure needs to be narrowed down before settings are changed or operations retried. Which evidence best separates application errors from environment and dependency problems?
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
A failure needs to be narrowed down before settings are changed or operations retried. Which evidence best separates application errors from environment and dependency problems?
The same project needs to behave consistently on developer machines, in CI and after deployment. Which versions, dependencies and configuration should be recorded?
Context Kafka clients using the default ssl.endpoint.identification.algorithm=HTTPS verify the broker certificate hostname against the DNS name used at connection establishment. The verification occurs once during the initial handshake and is not repeated for the lifetime of that connection. Problem In environments with DNS-based failover or rolling broker u
Configuration boundary The min.insync.replicas setting determines the minimum in-sync replicas required for acks=all writes. Local single-broker clusters typically use default.replication.factor=1 and min.insync.replicas=1 , ensuring all writes succeed. Production environments often configure broker defaults with min.insync.replicas=2 or higher for durabilit
A small Kafka consumer application is being moved to a new deployment, and the goal is to keep message processing continuous while old and new instances briefly share the consumer group. Each membership change in that window triggers a rebalance, and the assignment protocol decides how much of the group stops consuming. Under an eager assignor such as RangeA
Goal Produce messages with full durability guarantees while keeping latency acceptable in a multi‑broker Kafka cluster. Constraints and Uncertainty The producer is configured with acks=all and a replication factor of 3. In a local single‑broker test the write succeeds quickly, but in production the producer sometimes times out or receives a NotEnoughReplicas
Design goal is to configure a Kafka topic for an integration test that uses log compaction together with time-based deletion, without access to production credentials. The topic should retain only the latest value per key under compaction, while messages without keys should be subject to delete retention. The cleanup.policy is intended to be compact,delete a
Producer Failure in High-Durability Configurations In a production Kafka cluster (version 3.x), a producer is configured with acks=all to ensure maximum data durability. While this configuration functions without issue in a local single-node environment, it triggers a NotEnoughReplicasException when deployed to a multi-broker production cluster. The cluster