On 02/11/2019 04:00, Sijie Guo wrote:
Currently there is no operations around event time.
The closest we have offered in Pulsar is seeking (or rest-cursor) by
publish time. Although the API is still a best-effort by doing binary
lookup.
That reminds me of another question I meant to ask. When a message is
published, is the publish time assigned by the client or by the broker?
And does Pulsar do anything to ensure that publish time is monotonically
increasing on a given topic?
Since timestamps are at millisecond resolution, and you have two clients
or two brokers with clocks that aren't properly synchronised, ISTM you
could get values which aren't monotonic.
Thanks,
Brian.