We use buffered channels for the sender in some queue implementations (nats, redis, sqs).
This increases the performance a lot (#12) but if we stop the transport we might leave some messages in this channel without sending them to the message queue.
Should we flush all remaining messages to the queue if we call Stop() ?
We use buffered channels for the sender in some queue implementations (nats, redis, sqs). This increases the performance a lot (#12) but if we stop the transport we might leave some messages in this channel without sending them to the message queue.
Should we flush all remaining messages to the queue if we call Stop() ?