open fun setMaxBufferedMessages(maxBufferedMessages: Int): MessageConsumer<T>
Set the number of messages this registration will buffer when this stream is paused. The default value is 1000. When a new value is set, buffered messages may be discarded to reach the new value.
maxBufferedMessages - the maximum number of messages that can be buffered
Return
this registration