QueueOptions
docs do not document the behavior of 0 max_unconfirmed_*
#36
Labels
QueueOptions
docs do not document the behavior of 0 max_unconfirmed_*
#36
Bug Report
Current Behavior
The example consumers we provide construct
QueueOptions
using the expressionQueueOptions(0, 0, 0)
. Users building their first consumer are likely to copy this example code. However, the docs do not specify what the behavior of 0 for the first two arguments,max_unconfirmed_messages
andmax_unconfirmed_bytes
, is.Expected behavior/code
The documentation should mirror what the C++ SDK documentation for its component
bmqt_queueoptions
says: 0 for these queue options means there is no maximum number of unconfirmed messages for this consumer/maximum size of unconfirmed messages for this consumer.The text was updated successfully, but these errors were encountered: