On 01/20/2016 12:29 PM, Toralf Lund wrote:
On 19/01/16 17:01, Gordon Sim wrote:
The value reported for received messages is that value that was
written to the wire by the peer (e.g. the broker). The receiving
client does not reduce this value in anyway after the message has been
decoded.
So, in other words, the value relates to the time Receiver::fetch() was
called on a receiver with capacity 0, and the point where the receiver
got the message "in the background" if capacity is >0?
The value relates to the time the broker sent it. Generally that would
indeed only be milliseconds at most earlier than the point at which the
client receives it though.
How exactly does the prefetch work, by the way? Will the client still
ask for messages individually, or does it tell the broker in advance
that it's prepared to receive a certain number of messages?
If you set a capacity > 0, then the client will tell the broker it is
prepared to handle that many messages. It will then move that window
forward as messages are received.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]