1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00

Fix link to client-side slow consumer detection

This commit is contained in:
Christopher Watford 2020-12-14 13:17:30 -05:00 committed by GitHub
parent 33dfb11002
commit 03219c51cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ When detected at the client, the application is notified and messages are droppe
## Slow consumers identified in the client ## Slow consumers identified in the client
A [client can detect it is a slow consumer]() on a local connection and notify the application through use of the asynchronous error callback. It is better to catch a slow consumer locally in the client rather than to allow the server to detect this condition. This example demonstrates how to define and register an asynchronous error handler that will handle slow consumer errors. A [client can detect it is a slow consumer](../../developing-with-nats/events/slow) on a local connection and notify the application through use of the asynchronous error callback. It is better to catch a slow consumer locally in the client rather than to allow the server to detect this condition. This example demonstrates how to define and register an asynchronous error handler that will handle slow consumer errors.
```go ```go
func natsErrHandler(nc *nats.Conn, sub *nats.Subscription, natsErr error) { func natsErrHandler(nc *nats.Conn, sub *nats.Subscription, natsErr error) {