The only agent that thinks for itself

Autonomous Monitoring with self-learning AI built-in, operating independently across your entire stack.

Unlimited Metrics & Logs
Machine learning & MCP
5% CPU, 150MB RAM
3GB disk, >1 year retention
800+ integrations, zero config
Dashboards, alerts out of the box
> Discover Netdata Agents

Centralized metrics streaming and storage

Aggregate metrics from multiple agents into centralized Parent nodes for unified monitoring across your infrastructure.

Stream from unlimited agents
Long-term data retention
High availability clustering
Data replication & backup
Scalable architecture
Enterprise-grade security
> Learn about Parents

Fully managed cloud platform

Access your monitoring data from anywhere with our SaaS platform. No infrastructure to manage, automatic updates, and global availability.

Zero infrastructure management
99.9% uptime SLA
Global data centers
Automatic updates & patches
Enterprise SSO & RBAC
SOC2 & ISO certified
> Explore Netdata Cloud

Deploy Netdata Cloud in your infrastructure

Run the full Netdata Cloud platform on-premises for complete data sovereignty and compliance with your security policies.

Complete data sovereignty
Air-gapped deployment
Custom compliance controls
Private network integration
Dedicated support team
Kubernetes & Docker support
> Learn about Cloud On-Premises

Powerful, intuitive monitoring interface

Modern, responsive UI built for real-time troubleshooting with customizable dashboards and advanced visualization capabilities.

Real-time chart updates
Customizable dashboards
Dark & light themes
Advanced filtering & search
Responsive on all devices
Collaboration features
> Explore Netdata UI

Monitor on the go

Native iOS and Android apps bring full monitoring capabilities to your mobile device with real-time alerts and notifications.

iOS & Android apps
Push notifications
Touch-optimized interface
Offline data access
Biometric authentication
Widget support
> Download apps

The future of infrastructure observability

See our strategic direction across AI-native observability, full-stack signals, operational intelligence, and enterprise platform maturity.

AI-native observability
Full-stack signal coverage
Operational intelligence
Enterprise platform maturity
Agent releases every 6 weeks
Cloud continuous delivery
> Explore Product Roadmap

Best energy efficiency

True real-time per-second

100% automated zero config

Centralized observability

Multi-year retention

High availability built-in

Zero maintenance

Always up-to-date

Enterprise security

Complete data control

Air-gap ready

Compliance certified

Millisecond responsiveness

Infinite zoom & pan

Works on any device

Native performance

Instant alerts

Monitor anywhere

AI-native observability

Continuous delivery

Open source foundation

80% Faster Incident Resolution

AI-powered troubleshooting from detection, to root cause and blast radius identification, to reporting.

True Real-Time and Simple, even at Scale

Linearly and infinitely scalable full-stack observability, that can be deployed even mid-crisis.

90% Cost Reduction, Full Fidelity

Instead of centralizing the data, Netdata distributes the code, eliminating pipelines and complexity.

See and Map Your Entire Network

Live topology, flow analytics, and SNMP device and trap monitoring — unified with your full-stack observability.

Control Without Surrender

SOC 2 Type 2 certified with every metric kept on your infrastructure.

Integrations

800+ collectors and notification channels, auto-discovered and ready out of the box.

800+ data collectors
Auto-discovery & zero config
Cloud, infra, app protocols
Notifications out of the box
> Explore integrations
Real Results
46% Cost Reduction

Reduced monitoring costs by 46% while cutting staff overhead by 67%.

— Leonardo Antunez, Codyas

Zero Pipeline

No data shipping. No central storage costs. Query at the edge.

From Our Users
"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

No Query Language

Point-and-click troubleshooting. No PromQL, no LogQL, no learning curve.

Enterprise Ready
67% Less Staff, 46% Cost Cut

Enterprise efficiency without enterprise complexity—real ROI from day one.

— Leonardo Antunez, Codyas

SOC 2 Type 2 Certified

Zero data egress. Only metadata reaches the cloud. Your metrics stay on your infrastructure.

Full Coverage
800+ Collectors

Auto-discovered and configured. No manual setup required.

Any Notification Channel

Slack, PagerDuty, Teams, email, webhooks—all built-in.

Built for the People Who Get Paged

Because 3am alerts deserve instant answers, not hour-long hunts.

Every Industry Has Rules. We Master Them.

See how healthcare, finance, and government teams cut monitoring costs 90% while staying audit-ready.

Monitor Any Technology. Configure Nothing.

Install the agent. It already knows your stack.
From Our Users
"A Rare Unicorn"

Netdata gives more than you invest in it. A rare unicorn that obeys the Pareto rule.

— Eduard Porquet Mateu, TMB Barcelona

99% Downtime Reduction

Reduced website downtime by 99% and cloud bill by 30% using Netdata alerts.

— Falkland Islands Government

Real Savings
30% Cloud Cost Reduction

Optimized resource allocation based on Netdata alerts cut cloud spending by 30%.

— Falkland Islands Government

46% Cost Cut

Reduced monitoring staff by 67% while cutting operational costs by 46%.

— Codyas

Real Coverage
"Plugin for Everything"

Netdata has agent capacity or a plugin for everything, including Windows and Kubernetes.

— Eduard Porquet Mateu, TMB Barcelona

"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

Real Speed
Troubleshooting in 30 Seconds

From 2-3 minutes to 30 seconds—instant visibility into any node issue.

— Matthew Artist, Nodecraft

20% Downtime Reduction

20% less downtime and 40% budget optimization from out-of-the-box monitoring.

— Simon Beginn, LANCOM Systems

Pay per Node. Unlimited Everything Else.

One price per node. Unlimited metrics, logs, users, and retention. No per-GB surprises.

Free tier—forever
No metric limits or caps
Retention you control
Cancel anytime
> See pricing plans

What's Your Monitoring Really Costing You?

Most teams overpay by 40-60%. Let's find out why.

Expose hidden metric charges
Calculate tool consolidation
Customers report 30-67% savings
Results in under 60 seconds
> See what you're really paying

Your Infrastructure Is Unique. Let's Talk.

Because monitoring 10 nodes is different from monitoring 10,000.

On-prem & air-gapped deployment
Volume pricing & agreements
Architecture review for your scale
Compliance & security support
> Start a conversation

Monitoring That Sells Itself

Deploy in minutes. Impress clients in hours. Earn recurring revenue for years.

30-second live demos close deals
Zero config = zero support burden
Competitive margins & deal protection
Response in 48 hours
> Apply to partner

Per-Second Metrics at Homelab Prices

Same engine, same dashboards, same ML. Just priced for tinkerers.

Community: Free forever · 5 nodes · non-commercial
Homelab: $90/yr · unlimited nodes · fair usage
> Get the Homelab Plan

$1,000 Per Referral. Unlimited Referrals.

Your colleagues get 10% off. You get 10% commission. Everyone wins.

10% of subscriptions, up to $1,000 each
Track earnings inside Netdata Cloud
PayPal/Venmo payouts in 3-4 weeks
No caps, no complexity
> Get your referral link
Cost Proof
40% Budget Optimization

"Netdata's significant positive impact" — LANCOM Systems

Calculate Your Savings

Compare vs Datadog, Grafana, Dynatrace

Savings Proof
46% Cost Reduction

"Cut costs by 46%, staff by 67%" — Codyas

30% Cloud Bill Savings

"Reduced cloud bill by 30%" — Falkland Islands Gov

Enterprise Proof
"Better Than Combined Alternatives"

"Better observability with Netdata than combining other tools." — TMB Barcelona

Real Engineers, <24h Response

DPA, SLAs, on-prem, volume pricing

Why Partners Win
Demo Live Infrastructure

One command, 30 seconds, real data—no sandbox needed

Zero Tickets, High Margins

Auto-config + per-node pricing = predictable profit

Homelab Ready
Free Video Course

8-episode Netdata tutorial by LearnLinux.tv

76k+ GitHub Stars

3rd most starred monitoring project

Worth Recommending
Product That Delivers

Customers report 40-67% cost cuts, 99% downtime reduction

Zero Risk to Your Rep

Free tier lets them try before they buy

AI Support Assistant, Available 24/7

Nedi has access to all official documentation, source code, and resources. Ask any question about Netdata—responds in your language.

Deployment & configuration
Troubleshooting & sizing
Alerts & notifications
Evidence-based answers
> Ask Nedi now

Never Fight Fires Alone

Docs, community, and expert help—pick your path to resolution.

Learn.netdata.cloud docs
Discord, Forums, GitHub
Premium support available
> Get answers now

60 Seconds to First Dashboard

One command to install. Zero config. 850+ integrations documented.

Linux, Windows, K8s, Docker
Auto-discovers your stack
> Read our documentation

76,000+ Engineers Strong

615+ contributors. 1.5M daily downloads. One mission: simplify observability.

Per-Second. 90% Cheaper. Data Stays Home.

Side-by-side comparisons: costs, real-time granularity, and data sovereignty for every major tool.

See why teams switch from Datadog, Prometheus, Grafana, and more.

> Browse all comparisons
Edge-Native Observability, Born Open Source
Per-second visibility, ML on every metric, and data that never leaves your infrastructure.
Founded in 2016
615+ contributors worldwide
Remote-first, engineering-driven
Open source first
> Read our story
Promises We Publish—and Prove
12 principles backed by open code, independent validation, and measurable outcomes.
Open source, peer-reviewed
Zero config, instant value
Data sovereignty by design
Aligned pricing, no surprises
> See all 12 principles
Edge-Native, AI-Ready, 100% Open
76k+ stars. Full ML, AI, and automation—GPLv3+, not premium add-ons.
76,000+ GitHub stars
GPLv3+ licensed forever
ML on every metric, included
Zero vendor lock-in
> Explore our open source
Build Real-Time Observability for the World
Remote-first team shipping per-second monitoring with ML on every metric.
Remote-first, fully distributed
Open source (76k+ stars)
Challenging technical problems
Your code on millions of systems
> See open roles
Meet the Team Behind Netdata
Conferences, meetups, and tradeshows where you can see Netdata in action and talk to the engineers who build it.
Live demos and deep dives
Book 1-on-1 meetings
Talks and panel sessions
Event recaps and photos
> See all events
Talk to a Netdata Human in <24 Hours
Sales, partnerships, press, or professional services—real engineers, fast answers.
Discuss your observability needs
Pricing and volume discounts
Partnership opportunities
Media and press inquiries
> Book a conversation
Your Data. Your Rules.
On-prem data, cloud control plane, transparent terms.
Trust & Scale
76,000+ GitHub Stars

One of the most popular open-source monitoring projects

SOC 2 Type 2 Certified

Enterprise-grade security and compliance

Data Sovereignty

Your metrics stay on your infrastructure

Validated
University of Amsterdam

"Most energy-efficient monitoring solution" — ICSOC 2023, peer-reviewed

ADASTEC (Autonomous Driving)

"Doesn't miss alerts—mission-critical trust for safety software"

Community Stats
615+ Contributors

Global community improving monitoring for everyone

1.5M+ Downloads/Day

Trusted by teams worldwide

GPLv3+ Licensed

Free forever, fully open source agent

Why Join?
Remote-First

Work from anywhere, async-friendly culture

Impact at Scale

Your work helps millions of systems

$ guides / apache-pulsar / apache-pulsar-subscription-backlog-growing ▌

Operations Guides

Apache Pulsar subscription backlog growing: consumers falling behind producers

A growing subscription backlog means producers are publishing faster than consumers can acknowledge. The absolute backlog size matters less than its trajectory. A high but stable backlog is normal for lagged or replay consumers. A monotonically increasing backlog is a problem regardless of size: it consumes bookie disk until the bookie goes read-only, the backlog quota trips and throttles producers, or retention and TTL silently delete messages the consumer never saw.

The most insidious variant is the Silent Consumer Stall. Producers continue writing normally (pulsar_rate_in looks fine), but dispatch to consumers has stopped or flatlined (pulsar_rate_out is zero or well below rate_in). Consumers may even appear connected. The backlog grows linearly while the broker, bookies, and network all report healthy. Operators who only monitor rates, not backlog directly, miss this until it cascades.

What this means

Subscription backlog is the count of entries published but not yet acknowledged by a specific subscription. Pulsar tracks this per subscription, not per topic. A topic with five subscriptions has five independent backlogs, each of which can grow or drain independently.

The relevant Prometheus metrics are:

MetricScopeWhat it counts
pulsar_subscription_back_logPer subscriptionEntries (not individual messages)
pulsar_subscription_back_log_no_delayedPer subscriptionEntries excluding delayed messages
pulsar_msg_backlogPer topicAggregate across subscriptions on that topic
pulsar_broker_msg_backlogPer brokerAggregate across all topics on that broker

All four are gauges (the per-topic and per-subscription ones carry cluster, namespace, topic, and subscription labels; pulsar_broker_msg_backlog is per broker). The per-subscription metric is the one to alert on.

flowchart TD
    A[Backlog growing] --> B{rate_out near zero?}
    B -->|Yes| C{Consumers connected?}
    C -->|No| D[Consumer down or disconnected]
    C -->|Yes| E{unackedMessages high?}
    E -->|Yes| F[Unacked dispatch freeze]
    E -->|No| G[Dispatcher blocked or slow]
    B -->|No| H{rate_out < rate_in?}
    H -->|Yes| I{Redelivery high?}
    I -->|Yes| J[Poison message loop]
    I -->|No| K[Consumer too slow]

One important note: pulsar_subscription_back_log counts entries, not individual messages. With batch messages enabled, one entry can contain many messages. The msgBacklog field in topic stats also counts entries. For exact message-level counts, the analyzeBacklog admin API exists but is expensive and reads from storage.

A newly created subscription with SubscriptionInitialPosition.Earliest will show all historical messages as backlog. This is expected behavior, not a consumer problem. Alert on rate-of-change, not absolute size.

Common causes

CauseWhat it looks likeFirst thing to check
Consumer is down or disconnectedrate_out is zero, pulsar_subscription_back_log grows linearly, no consumer connections for the subscriptionConsumer application health and deployment status
Dispatch frozen on unacked limitunackedMessages at or near maxUnackedMessagesPerSubscription (default 200,000), blockedSubscriptionOnUnackedMsgs is true in topic stats, rate_out drops to zeropulsar_subscription_unacked_messages and the blockedSubscriptionOnUnackedMsgs flag
Consumer processing too slowrate_out is non-zero but consistently below rate_in, backlog grows steadily, unackedMessages moderate but not at limit, redelivery rate lowCompare pulsar_rate_in vs pulsar_rate_out per topic
Poison message or processing failure loopHigh pulsar_subscription_msg_rate_redeliver, backlog grows, same messages redelivered repeatedly, rate_out may look normal but no forward progressRedelivery rate relative to dispatch rate
TTL deleting messages before consumers read themNon-zero pulsar_subscription_msg_rate_expired, backlog may stabilize or shrink but consumers are silently losing dataTTL configuration and expiration rate

Quick checks

# Per-subscription backlog (filter by namespace in production to avoid huge output)
curl -s http://<broker-host>:8080/metrics | grep pulsar_subscription_back_log | grep <namespace>

# Publish and dispatch rates for a specific topic
curl -s http://<broker-host>:8080/metrics | grep -E "pulsar_rate_(in|out)" | grep <topic>

# Unacked messages per subscription
curl -s http://<broker-host>:8080/metrics | grep pulsar_subscription_unacked_messages | grep <namespace>

# Redelivery rate
curl -s http://<broker-host>:8080/metrics | grep pulsar_subscription_msg_rate_redeliver | grep <namespace>

# Message expiration rate (TTL-driven loss)
curl -s http://<broker-host>:8080/metrics | grep pulsar_subscription_msg_rate_expired | grep <namespace>

# Admin API: subscription-level detail for a specific topic
pulsar-admin topics stats persistent://tenant/namespace/topic
# Look for: subscriptions.<name>.msgBacklog
# Look for: subscriptions.<name>.unackedMessages
# Look for: subscriptions.<name>.blockedSubscriptionOnUnackedMsgs
# Look for: subscriptions.<name>.consumers (array length)

# Bookie disk usage
# TODO: verify HTTP metrics endpoint. Many deployments expose bookie metrics via JMX, not HTTP.
curl -s http://<bookie-host>:8000/metrics | grep bookie_ledger_dir_.*_usage

How to diagnose it

  1. Identify which subscription is growing. Filter pulsar_subscription_back_log by namespace, topic, and subscription. The backlog is per-subscription, so isolate the specific subscription before investigating causes.

  2. Compare rate_in to rate_out for the affected topic. If rate_out is zero or flat while rate_in is normal, dispatch has stopped. If rate_out is non-zero but consistently below rate_in, the consumer is simply too slow.

  3. Check whether the dispatch freeze is caused by unacked messages. Look at pulsar_subscription_unacked_messages for the affected subscription. If it is at or near the configured maxUnackedMessagesPerSubscription (default 200,000), the broker has silently stopped dispatching. Confirm with the blockedSubscriptionOnUnackedMsgs flag in topic stats. Note: there is also a per-consumer limit (maxUnackedMessagesPerConsumer, default 50,000) that can freeze a single consumer within a shared subscription.

  4. Check for redelivery storms. A high pulsar_subscription_msg_rate_redeliver relative to dispatch rate means consumers are receiving messages but failing to process them. Every redelivered message occupies dispatch and broker resources without making forward progress.

  5. Verify consumers are actually connected. In the Admin API topic stats, check the consumers array for each subscription. An empty array means no consumers are connected. A non-empty array with growing backlog means connected consumers are not acking.

  6. Check for TTL-driven silent loss. A non-zero pulsar_subscription_msg_rate_expired means messages are being deleted by TTL before the consumer reads them. The backlog may stabilize or shrink, but the consumer is losing data.

  7. Assess bookie disk impact. Growing backlog consumes bookie disk. Check disk usage across bookies. If disk approaches the configured threshold (default 95% via diskUsageThreshold), the bookie will go read-only and stop accepting writes.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
pulsar_subscription_back_logPrimary backlog metric per subscriptionMonotonic growth sustained for more than 15 minutes with active consumers
pulsar_rate_in vs pulsar_rate_outRate divergence directly causes backlog growthrate_out consistently below rate_in
pulsar_subscription_unacked_messagesDispatch freeze when limit is hitSustained above 50% of maxUnackedMessagesPerSubscription
pulsar_subscription_msg_rate_redeliverMessages received but not processedRedelivery rate above 10% of dispatch rate
pulsar_subscription_msg_rate_expiredTTL deleting messages before consumptionAny non-zero rate on topics where data loss is unacceptable
Bookie disk usageBacklog growth fills bookie diskGrowth trend approaching 85-90%
blockedSubscriptionOnUnackedMsgsDefinitive indicator of dispatch freezeValue is true in topic stats

Fixes

Consumer is down or disconnected

Restart the consumer or investigate why it crashed. If the consumer was undeployed intentionally, verify whether the subscription should still exist. Abandoned subscriptions with no consumers hold backlog and prevent data deletion.

Dispatch frozen on unacked limit

The broker stopped dispatching because unackedMessages hit maxUnackedMessagesPerSubscription. This is a consumer-side problem: the consumer received messages but is not acknowledging them. Investigate:

  • Consumer processing logic (is it blocked on a downstream dependency?).
  • Ack path (are acks being sent?).
  • ackTimeout configuration (is it too generous, allowing messages to stay unacked indefinitely?).

Do not raise the unacked limit as a first response. It only delays the dispatch freeze and increases memory pressure. Fix the consumer’s ack behavior.

If the consumer is genuinely stuck and cannot recover, consider skipping the subscription cursor forward to unblock dispatch.

Warning: Skipping the cursor acknowledges messages the consumer never processed. This is destructive data loss. Coordinate with the application team before doing this.

Consumer processing too slow

The consumer is acking but cannot keep up with the publish rate. Options, in order of preference:

  • Scale out consumers. For shared or failover subscriptions, adding consumers increases parallel dispatch capacity. For exclusive subscriptions, this requires a subscription type change.
  • Reduce producer rate. If the consumer legitimately cannot process faster, throttle producers to match. This is preferable to unbounded backlog growth.
  • Increase consumer processing parallelism. Application-level optimization: batch processing, async acks, or reducing per-message work.

Poison message or processing failure loop

A high redelivery rate with no forward progress indicates messages that always fail processing. Inspect the message content causing failures. Options:

  • Route the poison message to a dead letter topic if DLQ is configured. After maxRedeliveryCount redeliveries, Pulsar moves the message to {topic}-{subscription}-DLQ.
  • Skip the message by acknowledging it manually (if the application supports it).
  • Fix the consumer’s error handling so it does not infinite-loop on bad messages.

TTL deleting messages before consumers read them

If pulsar_subscription_msg_rate_expired is non-zero and unexpected, the consumer is falling behind its TTL window. Either:

  • Increase TTL for the namespace or topic.
  • Fix the consumer so it reads within the TTL window.
  • Accept the data loss if TTL is intentionally aggressive and the topic is a real-time-only feed.

Prevention

  • Alert on backlog rate-of-change, not absolute size. A sustained growth rate over 15 minutes with active consumers is the actionable signal. Absolute thresholds produce false positives for legitimately lagged consumers and false negatives for slowly growing backlogs.

  • Monitor per-subscription, not just per-topic. A topic with multiple subscriptions can have one healthy subscription and one stuck one. Topic-level aggregates hide the problem.

  • Track unacked message count. The dispatch freeze at maxUnackedMessagesPerSubscription is silent. Alert when unacked messages exceed 50% of the configured limit.

  • Include system namespaces in backlog monitoring. Pulsar uses internal topics in the pulsar/system namespace for cluster coordination. Backlogs on system topics cause strange cluster behavior but are often excluded from monitoring.

  • Understand your backlog quota policy. producer_request_hold and producer_exception throttle producers when quota is exceeded. consumer_backlog_eviction silently discards the oldest unacked messages from the slowest subscriber. Know which policy is active on each namespace.

  • Check for abandoned subscriptions. Subscriptions created dynamically (per microservice instance, per test run) and never cleaned up hold cursors that prevent data deletion. Monitor subscription count over time. Consider subscriptionExpirationTimeMinutes to auto-expire abandoned subscriptions.

How Netdata helps

  • Per-second backlog metrics let you see the rate-of-change immediately, not minutes after the growth starts. The difference between a burst and a sustained trend is visible within the first few data points.

  • Correlate pulsar_rate_in with pulsar_rate_out on the same dashboard to instantly spot the Silent Consumer Stall: normal publish rate with flatlined dispatch.

  • ML anomaly detection on backlog trends flags monotonic growth even when the absolute value is still low, catching the problem before it triggers quota enforcement or disk pressure.

  • Cross-layer correlation connects subscription backlog growth to bookie disk usage and bookie server status, so you can see the downstream impact of a slow consumer in real time.

  • Unacked message tracking surfaces the dispatch-freeze pattern before blockedSubscriptionOnUnackedMsgs flips to true, giving you time to fix the consumer before dispatch stops entirely.