[
https://issues.apache.org/jira/browse/BEAM-9728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17548683#comment-17548683
]
Danny McCormick commented on BEAM-9728:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/20306
> PubsubIO.Read support for timestamp parsing
> -------------------------------------------
>
> Key: BEAM-9728
> URL: https://issues.apache.org/jira/browse/BEAM-9728
> Project: Beam
> Issue Type: New Feature
> Components: io-java-gcp
> Reporter: Oleksandr Bushkovskyi
> Priority: P3
>
> 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.20.7#820007)