Oleksandr Bushkovskyi created BEAM-9728:
-------------------------------------------

             Summary: PubsubIO.Read support for timestamp parsing
                 Key: BEAM-9728
                 URL: https://issues.apache.org/jira/browse/BEAM-9728
             Project: Beam
          Issue Type: Improvement
          Components: io-java-gcp
            Reporter: Oleksandr Bushkovskyi


Hi,

I'm repeatedly facing situations where I need to assign timestamp from PubSub 
message body and it's not possible via Pubsub.Read.

Having some method like *withTimestampFn(*SerializableFunction<ReceivedMessage, 
Long>) would be very helpfull.

BEAM-53 mention such feature:

??getting timestamp from an arbitrary lambda in arbitrary formats rather than 
from a message attribute in only 2 formats.??

But looks that it was never implemented.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to