Cancel the consumer. This will stop the consumer from receiving any more messages. After last message has been processed the promise will resolve.
Cancel the consumer. This will stop the consumer from receiving any more messages. After last message has been processed the promise will resolve.