apache / apache/beam

PubsubIO.Read support for timestamp parsing

Open
#20,306 0 comments 0 reactions 0 assignees View on GitHub
gcp io java new feature P3
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

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)` 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.

Imported from Jira [BEAM-9728](https://issues.apache.org/jira/browse/BEAM-9728). Original Jira may contain additional context.
Reported by: bushkovsky.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.