aprochko commented on issue #37163:
URL: https://github.com/apache/beam/issues/37163#issuecomment-3685425249

   > Is it possible to add a per-ordering-key sequence number (or monotonic 
timestamp) as a message attribute, then reorder in the pipeline per-key?
   
   hi @liferoad, 
   
   I've tried this approach, it brings additional latency (~0.5s) and there are 
still edge elements which could be in a wrong order - for example, last element 
of first "window" and first element of second one.
   
   So from my point of view key should be assigned in an output of pubsubio to 
prevent it, but I would love to hear Expert opinions about downsides of this.
   
   Our case is latency and ordering sensitive, KafkaIo just doing fine there, 
and I'm a bit surprised noone requested the feature for PubSub before.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to