By Sagar Shankaran, Founder of CallSphere
Kafka 4.0 wins on raw throughput. Pulsar 4.x wins on multi-tenancy and the million-topic problem. We map both onto AI agent workloads — per-customer topics, geo-replication, separate compute and storage.
Key takeaways
TL;DR — Both Kafka 4.0 and Pulsar 4.x are post-ZooKeeper now (KRaft and Oxia respectively). Kafka is faster on raw throughput. Pulsar is the only sane choice when every customer needs its own topic, when you need built-in geo-replication, and when you want compute and storage to scale independently.
You're building a SaaS AI platform. Every customer is a tenant. You want per-customer audit topics, per-customer event isolation, per-customer retention policies. Kafka makes this hard — partitions, ACLs, and broker memory all suffer at 100k+ topics. Pulsar makes this trivial — multi-tenancy is first-class, topics are cheap, BookKeeper handles the storage tier.
flowchart TB
subgraph Pulsar
P_Brokers[Stateless brokers] -->|reads/writes| BK[BookKeeper bookies]
Oxia[Oxia coordination] -.metadata.- P_Brokers
end
subgraph Kafka
K_Brokers[Brokers tier 1: serve + store]
K_Brokers -.metadata.- KRaft[KRaft controller quorum]
end
Producer --> Pulsar
Producer --> Kafka
Pulsar's two-tier (broker + bookie) lets you scale brokers (CPU, network) independently from bookies (storage). Kafka's single-tier puts both on the broker; tiered storage (KIP-405) moves cold segments to S3.
CallSphere is single-tenant per customer pod with shared backbones, so we use Kafka for cross-customer fan-out (one topic, partitions per vertical) and NATS JetStream inside each pod (Real Estate OneRoof is the canonical example). If we ever pivot to per-customer logical topics for compliance reasons (e.g., HIPAA tenant isolation), Pulsar becomes the right call. 37 agents · 90+ tools · 115+ DB tables · 6 verticals · pricing $149/$499/$1499 · 14-day trial · 22% affiliate. /pricing · /demo.
import org.apache.pulsar.client.api.*;
PulsarClient client = PulsarClient.builder()
.serviceUrl("pulsar://pulsar:6650")
.build();
Producer<byte[]> producer = client.newProducer()
.topic("persistent://callsphere/real-estate/call-events")
.compressionType(CompressionType.ZSTD)
.create();
producer.newMessage()
.key(callId)
.property("ce-type", "com.callsphere.call.completed.v1")
.value(payload)
.send();
Consumer<byte[]> consumer = client.newConsumer()
.topic("persistent://callsphere/real-estate/call-events")
.subscriptionName("embeddings")
.subscriptionType(SubscriptionType.Shared)
.subscribe();
Is Pulsar still relevant after Kafka shed ZooKeeper? Yes — Pulsar's separation of compute/storage and its multi-tenancy story stand on their own.
Hear it before you finish reading
Talk to a live CallSphere AI voice agent in your browser — 60 seconds, no signup.
Can I run both? Sure — Kafka for fan-out, Pulsar for per-tenant. Adds operator load.
What's Oxia? Pulsar's purpose-built coordination service replacing ZooKeeper, designed for the million-topic case.
Where does CallSphere stand? Kafka + NATS today; we'll re-evaluate Pulsar when per-tenant topic isolation becomes a contractual requirement. See /pricing.
Can I demo our event flow? /demo.
Pulsar 4.x vs Kafka 4.0 for AI Workloads: The Million-Topic Problem ultimately resolves into one engineering question: when do you use the OpenAI Realtime API versus an async pipeline? Realtime wins on latency for live calls. Async wins on cost, retries, and structured tool reliability for callbacks and SMS flows. Most teams need both, and the routing layer between them becomes the most load-bearing piece of the stack.
The big fork is managed (OpenAI Realtime, ElevenLabs Conversational AI) versus self-hosted on GPUs you operate. Managed wins on cold-start, model freshness, and zero-ops; self-hosted wins on unit economics past a certain conversation volume and on data residency for regulated verticals. CallSphere runs hybrid: Realtime for live calls, self-hosted Whisper + a hosted LLM for async, both routed through a Go gateway that enforces per-tenant rate limits.
Still reading? Stop comparing — try CallSphere live.
CallSphere ships complete AI voice agents per industry — 14 tools for healthcare, 10 agents for real estate, 4 specialists for salons. See how it actually handles a call before you book a demo.
Latency budgets are non-negotiable on voice. End-to-end target is sub-800ms ASR-to-first-token and sub-1.4s first-audio-out; anything beyond that and turn-taking feels stilted. GPU residency in the same region as your TURN servers matters more than choosing a slightly bigger model.
Observability is the unglamorous backbone — every conversation produces logs, traces, sentiment scoring, and cost attribution piped to a per-tenant dashboard. HIPAA + SOC 2 aligned isolation keeps healthcare traffic separated from salon traffic at the storage layer, not just the API.
Is this realistic for a small business, or is it enterprise-only? 57+ languages are supported out of the box, and the platform is HIPAA and SOC 2 aligned, which removes most of the procurement friction in regulated verticals. For a topic like "Pulsar 4.x vs Kafka 4.0 for AI Workloads: The Million-Topic Problem", that means you're not starting from scratch — you're configuring an agent template that's already been hardened across thousands of conversations.
Which integrations have to be in place before launch? Day one is integration mapping (scheduler, CRM, messaging) and prompt tuning against your top 20 real call transcripts. Day two through five is shadow-mode running, where the agent transcribes and recommends but a human still answers, so you can compare side-by-side. Go-live is the moment your eval pass-rate clears your internal bar.
How do we measure whether it's actually working? The honest answer: it scales until your tool catalog gets stale. The agent is only as good as the integrations it can actually call, so the operational discipline is keeping schemas, webhooks, and fallback paths green. The platform handles the rest — observability, retries, multi-region routing — without your team owning the GPU layer.
Want to see how this maps to your stack? Book a live walkthrough at calendly.com/sagar-callsphere/new-meeting, or try the vertical-specific demo at urackit.callsphere.tech. 14-day trial, no credit card, pilot live in 3–5 business days.
Written by
Sagar Shankaran· Founder, CallSphere
Sagar Shankaran is the founder of CallSphere, where he builds production AI voice and chat agents deployed across healthcare, hospitality, real estate, and home services. He writes about agentic AI, LLM engineering, and shipping voice agents that handle real calls in production.
See how AI voice agents work for your industry. Live demo available -- no signup required.
Five proven multi-agent architecture patterns built on A2A — orchestrator, peer mesh, hub-and-spoke, marketplace, and tiered specialist.
How to design a multi-agent system using MCP for tools and A2A for cross-vendor coordination, with a CallSphere voice agent as a participating node.
A buyer-side comparison: building a phone agent on OpenAI's GPT-Realtime-2 API vs buying CallSphere. TCO, time-to-launch, and what you actually own.
A three-way comparison of Gemini Enterprise, Anthropic managed agents and OpenAI Frontier Platform after Cloud Next 2026 — strengths, gaps, buyer fit.
Every 100ms of latency costs you. So does every cent per minute. Here is the decision matrix we use across 6 verticals to pick where to spend and where to save on voice AI infrastructure.
When to use Pinecone vs pgvector vs Qdrant vs Weaviate. A decision framework that maps team size and workload to the right pick without endless evaluation loops.
© 2026 CallSphere LLC. All rights reserved.