mirror of
https://github.com/hanzomsg/nats.go.git
synced 2026-10-30 20:30:40 +00:00
Adds ability to configure pending message/byte limits on service endpoints to handle slow consumers gracefully. * Add WithEndpointPendingLimits() option for endpoint configuration * Support message count and/or byte limits (-1 for no limit) * Enhanced NATSError with error wrapping support for proper error chains Signed-off-by: Piotr Piotrowski <[email protected]>