From 673332485f478ecaf05b79d66d23b681af2248dc Mon Sep 17 00:00:00 2001 From: Ginger Collison Date: Tue, 4 Jun 2019 16:22:00 -0500 Subject: [PATCH] Update slow_consumers.md --- nats_admin/slow_consumers.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nats_admin/slow_consumers.md b/nats_admin/slow_consumers.md index 364f5f9..795180a 100644 --- a/nats_admin/slow_consumers.md +++ b/nats_admin/slow_consumers.md @@ -1,9 +1,7 @@ -## Slow Consumers - -To support resiliency and high availability, NATS provides built-in mechanisms to automatically prune the registered listener interest graph that is used to keep track of subscribers, including slow consumers and lazy listeners. NATS automatically handles a slow consumer. If a client is not processing messages quick enough, the NATS server cuts it off. To support scaling, NATS provides for auto-pruning of client connections. If a subscriber does not respond to ping requests from the server within the [ping-pong interval](/nats-protocol.md#PINGPONG), the client is cut off (disconnected). The client will need to have reconnect logic to reconnect with the server. - # Slow Consumers +To support resiliency and high availability, NATS provides built-in mechanisms to automatically prune the registered listener interest graph that is used to keep track of subscribers, including slow consumers and lazy listeners. NATS automatically handles a slow consumer. If a client is not processing messages quick enough, the NATS server cuts it off. To support scaling, NATS provides for auto-pruning of client connections. If a subscriber does not respond to ping requests from the server within the [ping-pong interval](nats_protocol/nats-protocol.html#PINGPONG), the client is cut off (disconnected). The client will need to have reconnect logic to reconnect with the server. + In core NATS, consumers that cannot keep up are handled differently from many other messaging systems: NATS favors the approach of protecting the system as a whole over accommodating a particular consumer to ensure message delivery. __What is a slow consumer?__