Short answer: choose Kafka for a shared event history
Use Apache Kafka if several applications need to read and replay the same events and your team can own the cluster or buy managed operations. Our November 9 run installed Kafka's Python committer tools in 28 seconds, completed the selected build step in 8 seconds, then failed the pytest step because no tests ran. Skip Kafka if native scheduling and flexible priorities are central requirements: a daily user reports those limitations in the PeerSpot Kafka reviews.
Apache's introduction says events remain available after consumption and that retention is configured per topic. Reading an event therefore does not consume the only available copy. That model fits applications whose readers need different schedules or need to revisit earlier events. It also puts a concrete question into the adoption decision: how much history must remain available for each reader? The Apache introduction explains repeated reads and retention together.
What people use kafka for
AnilKumar40 reports higher throughput after replacing sequential API calls with asynchronous Kafka messaging. His PeerSpot account describes sequential calls that stopped scaling with the data. The architectural change is the useful part of that account: communication moved away from a sequence of dependent API calls. Kamlesh Pant describes another integration use, putting Kafka between systems and using partitions to support scalability.
| Who used it | What they did | What happened |
|---|---|---|
| AnilKumar40, senior principal architect | Replaced sequential API calls with asynchronous messaging | Reports higher throughput after the change |
| Kamlesh Pant, Data Architect at Ascendion | Put Kafka between systems for integration | Reports that splitting topic data into partitions helps his system scale |
| Andrea Scanzani, tutorial author | Demonstrated consumers sharing a group | Only two of three grouped consumers received messages from two partitions |
| Kafka's original implementers, described by Apache | Rebuilt website activity tracking as publish-subscribe feeds | Made activity available for live processing, monitoring and offline reporting |
Apache's activity-tracking example gives the shared-history model a practical shape. Page views, searches and other actions become feeds that several applications can subscribe to. Live monitoring and offline reporting can use the same activity history for different jobs. The Apache use-case documentation describes those subscribers, while Pant's account explains Kafka's position between systems. Those are reasons to evaluate the event model before choosing a partition count or comparing throughput claims.
What happened when we ran it
Our November 27 deployment attempt stopped at the safety step because the runner found none of the Compose filenames it required. The failed safety-step record names compose.yaml, compose.yml, docker-compose.yaml and docker-compose.yml. Its unsafe repo label belongs to that prerequisite check. The run header says it was deployed with its own Docker Compose, but the failed step is the recorded execution outcome.
Our earlier November 9 sandbox run at commit 8f4cc1d selected ./committer-tools/. Installation succeeded in 28 seconds with 45 dependencies and 64 MB on disk, and the selected build step succeeded in 8 seconds. Pytest then returned exit 5 after 4 seconds, reporting 0 passed and 0 failed of 0. The failing log ended with no tests ran in 0.00s. These measurements describe the selected Python tooling environment.
| November 9 check | Recorded result | How to read it |
|---|---|---|
| Install | Succeeded in 28 seconds; 45 dependencies; 64 MB on disk | Python tooling environment |
| Build | Succeeded in 8 seconds | Selected tooling build step |
| Tests | Failed, exit 5, in 4 seconds; 0 passed, 0 failed of 0 | No tests ran |
| pip-audit | 0 known vulnerabilities | Python environment audit result |
| Repository scan | 7,623 files; about 1,649,634 source lines; 88.5 MB checked out | Checkout size |
| Automation scan | 20 CI workflow files; tests directory present; no Dockerfile detected | Scanner observations |
The recorded sandbox configuration was 3 CPUs, 8 GB RAM and image ghcr.io/astral-sh/uv:python3.12-bookworm. Kafka's root instructions describe a different build path: Java and Gradle, followed by storage formatting and broker startup, with a Docker image as another route. The Kafka README documents Java 17 and 25 and Scala 2.13. The Python directory and the broker toolchain are separate parts of this repository.
Where people get stuck: addresses, permissions and idle consumers
Sahu's Spring Boot troubleshooting article separates bootstrap configuration, advertised addresses and topic permissions into different failure categories. His Kafka troubleshooting article names the errors and suggested checks. That distinction keeps an investigation tied to the actual message: a missing bootstrap address, a broker address inappropriate for the client's network and rejected topic access call for different configuration changes.
| Symptom | What the author says to inspect | Status of the advice |
|---|---|---|
Failed to construct kafka consumer |
Broker availability and bootstrap-server settings | Suggested configuration checks |
No resolvable bootstrap URLs given in bootstrap.servers |
Missing or invalid bootstrap configuration | Suggested configuration checks |
Connection to node -1 could not be established |
Docker hostnames and advertised.listeners |
Suggested address checks |
TopicAuthorizationException |
Credentials and topic permissions | Suggested authorization checks |
| Extra consumer receives no messages | Partitions assigned to other members of its group | Demonstrated in Scanzani's tutorial |
Scanzani's third consumer receives no messages because the first two consumers already hold the topic's two partitions. His consumer-group demonstration shows the unassigned third consumer. This is a work-assignment result: adding another process did not add another partition. For this conventional consumer-group model, the partition count and group membership explain the idle process before a network change enters the investigation.
The ixaxaar tutorial also contains a naming mismatch: its Python consumer is stored in self.consumer, while its loop refers to self.source. The tutorial's consumer example uses those different attributes. Reading the two lines suggests iterating over self.consumer as the correction. The mismatch concerns the object the loop reads, rather than a broker address or topic permission.
Partition ordering is the guarantee to design around
Kafka guarantees ordering within a topic-partition. Apache's introduction states that consumers read that partition's events in their written order. A topic can contain several partitions, so a shared topic name alone does not describe one sequence covering every event. The same introduction says events with the same key are written to the same partition, connecting the ordering decision to the application's event keys.
Retention answers a separate question: how long that sequence remains available. Apache documents per-topic retention, after which old events are discarded. The retention explanation distinguishes repeated reading from indefinite storage. A reader's required recovery window therefore belongs in the topic-retention decision. Replication creates additional copies; retention controls when history expires. Choosing one does not replace the decision about the other.
Large payloads and cluster ownership shape the cost
A PeerSpot reviewer reports that large payloads increase network and disk use and slow producers and consumers. The same Kafka review describes expertise in partitioning, monitoring and capacity planning. These responsibilities put concrete work behind the operating-cost question. The useful comparison is between the shared event history an application needs and the storage, monitoring and recovery responsibilities that accompany it.
The reviewer also says managed Kafka services reduce operational overhead. His account contrasts growing self-managed complexity with managed operations. That creates a choice about who operates the cluster. For a team comparing approaches, partitioning, application monitoring and capacity planning are named responsibilities to assign. A managed-service proposal can then be compared with the particular responsibilities the team wants the service to handle.
Security needs a separate check from the Python audit
Our November 9 pip-audit result was zero known vulnerabilities in the measured Python environment. Sahu's article addresses a different security question: whether an application has credentials and permission to access its topics. His authorization guidance recommends the right credentials and topic permissions. An application identity and its intended read/write access are therefore the concrete starting points for a TopicAuthorizationException investigation.
Sahu also suggests disabling security for local experimentation. For a shared deployment, correcting the identity and topic permissions is the recommendation here. Removing an access check changes the access policy; it does not demonstrate that the intended identity has the required permission. This separates an authorization investigation from an address investigation while keeping both tied to the application's actual configuration and the topic it is trying to use.
Kafka vs RabbitMQ, Pulsar and managed alternatives
Compare RabbitMQ when routing and independent work-item handling drive the design; compare Pulsar when Modern Data Tools' multi-tenancy and geo-replication criteria match your requirements. RabbitMQ's engineering comparison describes exchanges, bindings, queues and retained streams, while Modern Data Tools recommends Pulsar for those architectural requirements. Routing, replay and independent work-item handling are separate requirements. Compare Kafka's event history with the particular RabbitMQ structure an application would use, rather than relying on a streaming-versus-queue label.
| Alternative | Reason to consider it | Decision to make |
|---|---|---|
| RabbitMQ | Its engineering team describes exchanges, bindings, queues and retained streams | Compare routing and work-item behavior alongside replay |
| Apache Pulsar | Modern Data Tools recommends it for multi-tenancy, geo-replication and separate compute/storage scaling | Compare that review's architectural criteria with your requirements |
| AWS Kinesis | Modern Data Tools frames it as an AWS-managed option with shard-based scaling | Compare the scaling model and service commitment |
| Azure Event Hubs | Modern Data Tools describes a managed Azure service accepting Kafka clients | Compare Azure operation with Kafka deployment portability |
| Redis | Modern Data Tools discusses queues and streams for teams already using Redis | Compare durability, replay and throughput requirements |
| Confluent | PeerSpot accounts describe managed operations and commercial support | Compare service charges with the responsibilities transferred |
Modern Data Tools also recommends Redpanda for Kafka compatibility, simpler operations and low latency. Those are the comparison author's stated selection criteria. The Pulsar recommendation above is likewise attributed to that review. Together, these comparisons organize the shortlist around architecture, client compatibility and responsibility for operations. RabbitMQ's comparison supplies a more detailed account of its own routing and storage structures.
Outdated claims, corrected
Confluent's benchmark used Kafka 2.6, RabbitMQ 3.8.5 and Pulsar 2.6. Its benchmark methodology names those versions, so its performance conclusion belongs to that configuration. The authors also report fixing Kafka driver connection starvation and overly frequent synchronous offset commits. Those implementation details explain why the benchmark driver matters alongside broker configuration when reading the result.
Harshali Patel's 2018 tutorial presents ZooKeeper as Kafka's metadata and leadership component and calls Kafka pure Java. The RabbitMQ comparison identifies KRaft as ZooKeeper's replacement, while the Kafka README describes Java and Scala compilation. The tutorial also characterizes RabbitMQ consumption as FIFO from the head, one message at a time. RabbitMQ's retained streams, offset positioning and partitioned super streams make that blanket description incomplete.
Kafka's homepage ordering language needs the topic-partition scope stated in Apache's introduction. Its simple-to-use description also answers a different question from the cluster-management work described by the PeerSpot reviewer. The reviewer's account names partitioning, monitoring and capacity planning. Basic producer-and-consumer usage and ownership of a growing cluster are distinct evaluation tasks, even when both involve the same event-streaming platform.
FAQ
Kafka topic creation uses the topic-administration CLI with a topic name and bootstrap server in the ixaxaar tutorial. Its administration examples cover topics and consumer offsets. Creating a topic defines the structure producers and consumers will use; resetting offsets changes a group's reading position. The questions below distinguish those administrative choices from the startup errors and partition-assignment behavior described earlier.
How do I create a Kafka topic?
The ixaxaar tutorial uses kafka-topics.sh --create --topic with --bootstrap-server, --partitions and --replication-factor. Its topic-creation example names those arguments. The topic name identifies the stream, while the partition and replica arguments express choices about its structure. The ordering and retention sections explain why choosing those values is a separate decision from learning the command's shape.
How do I reset Kafka consumer offsets?
The ixaxaar tutorial shows kafka-consumer-groups.sh --reset-offsets with earliest, latest and relative-shift targets, including examples using --execute. Its consumer-group administration section covers offset resets. Moving a reading position backward and moving it forward have different effects on which retained records the reader encounters next. The target position should therefore follow the application's replay or skip decision.
How do I choose the number of Kafka partitions?
Scanzani's two-partition demonstration gives assignments to only two consumers in the same group. That assignment result illustrates conventional group parallelism, while Apache defines ordering within each partition. Begin with which events must remain ordered together, then consider how readers will divide the processing. A partition count expresses both an ordering structure and a division of work.
Why does my Spring Boot Kafka consumer fail to start?
Sahu lists broker availability and bootstrap-server configuration among the checks for Failed to construct kafka consumer. His Spring Boot troubleshooting article identifies those startup checks. In the earlier troubleshooting table, this error is separate from missing bootstrap URLs, unreachable advertised addresses and denied topic access. The full exception identifies which configuration relationship to inspect rather than treating every startup failure as the same problem.
Why can my Kafka client not connect to node -1?
Sahu associates Connection to node -1 could not be established with internal Docker hostnames and misconfigured advertised listeners. His advertised-listener section names both causes. The relevant distinction is where the client runs: a hostname available inside Docker and an address reachable from an external application describe different network paths. The earlier troubleshooting table places this error in the address-check category.
How do I fix Kafka topic authorization errors?
Sahu recommends checking credentials and topic permissions for TopicAuthorizationException. His authorization section explicitly names those checks. The security section explains the distinction from a network failure: the application's identity and intended topic operation determine the access question. A Python dependency audit answers a different question and supplies no permission setting for the application's Kafka identity.
Why does an additional Kafka consumer receive no messages?
Scanzani's third consumer receives no partition assignment when two existing consumers already hold the topic's two partitions in the same group. His tutorial describes the unassigned consumer. The distinction is the consumption model: RabbitMQ's comparison describes share consumers acquiring individual messages under time-limited locks, allowing them to outnumber partitions. That is a separate model from the conventional group in Scanzani's demonstration.
What we have not tested yet
Our checks cover Python tooling at 8f4cc1d and a deployment attempt stopped by a Compose prerequisite. We have not tested a running broker, a successful Java build, message delivery, failover, retention recovery or downstream exactly-once behavior. The image label does not establish actual runtime versions. The conflicting deployment header does not establish service startup; that attempt contains no completed task answers or screenshot records. The proposed self.consumer correction was not executed.
The written troubleshooting suggestions contain no completed incident remediation, and an independently reproduced current-version comparison of consumer groups and share groups under failures is missing. Workload-specific partition counts, payload thresholds, operating bills and staffing requirements also lack measurements here. RabbitMQ's comparison comes from a competing project's team, and Confluent's historical benchmark does not answer a current throughput or latency question. The alternative recommendations are attributed comparisons rather than our workload results.
The latest-release lookup returned no release object; the reason is unknown. GitHub metadata records a November 27, 2026 push and 738 open issues and pull requests combined. Those observations do not measure incident frequency or support responsiveness. The community material contains no usable GitHub incident extracts, Reddit threads, X posts or YouTube transcripts. The four score dimensions remain unassessed where these checks do not support a product judgment.
A broker evaluation would need topic creation, representative production and consumption, reader and broker interruption, and recovery against a defined retention window. It would also need recorded acknowledgments and downstream effects to assess delivery requirements. Those steps describe the next evaluation, rather than completed work. The text review also leaves rendered layout, resolved links, related links, recommendation modules and other template behavior untested.


