nats.docs icon indicating copy to clipboard operation
nats.docs copied to clipboard

Drain

Open typecampo opened this issue 2 years ago • 3 comments

https://docs.nats.io/using-nats/developer/receiving/drain

number 4 should be changed from Close to Unsubscribe given the implications of Unsubscribe on a durable consumer.

If it were Close then Drain would not delete the durable consumer.

see nats-io/nats.go#874

typecampo avatar Dec 15 '21 22:12 typecampo