You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears as if the highWaterMark setting for the channel write stream cannot be configured. freshChannel() does take an options object that it gets highWaterMark from, but new Channel(), createChannel() and createChannelConfirm() do not take options nor pass options through to freshChannel().
Setting highWaterMark may be desirable in some high volume systems.
The text was updated successfully, but these errors were encountered:
Can anyone confirm my understanding of what setting the high watermark it actually does please? From the node docs
The highWaterMark option is a threshold, not a limit: it dictates the amount of data that a stream buffers before it stops asking for more data. It does not enforce a strict memory limitation in general. Specific stream implementations may choose to enforce stricter limits but doing so is optional.
I understand this to mean that setting the high watermark will not block writes. However, it is possible the application code using amqplib implements such a mechanism when channel.publish returns false to indicate the buffer is saturated. Is this correct?
It appears as if the
highWaterMark
setting for the channel write stream cannot be configured.freshChannel()
does take an options object that it getshighWaterMark
from, butnew Channel()
,createChannel()
andcreateChannelConfirm()
do not take options nor pass options through tofreshChannel()
.Setting
highWaterMark
may be desirable in some high volume systems.The text was updated successfully, but these errors were encountered: