[
https://issues.apache.org/jira/browse/BEAM-7717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16882998#comment-16882998
]
Steve Niemitz commented on BEAM-7717:
-------------------------------------
[https://github.com/apache/beam/blob/5b68aae06c705d2ee9e5588e88bc5a992f4edf64/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/pubsub/PubsubGrpcClient.java#L245]
seems super busted here. Its taking seconds + (nanos / 1000 (huh?!!??)) and
then interpreting it as milliseconds.
> PubsubIO watermark tracking hovers near start of epoch
> ------------------------------------------------------
>
> Key: BEAM-7717
> URL: https://issues.apache.org/jira/browse/BEAM-7717
> Project: Beam
> Issue Type: Bug
> Components: io-java-gcp
> Reporter: Steve Niemitz
> Priority: Critical
>
> {quote}The watermark tracking seems off. The dataflow UI was reporting my
> watermark as around (but not exactly) the epoch (it was ~1970-01-19), which
> makes me wonder if seconds/milliseconds got confused somewhere (ie, if you
> take the time since epoch in milliseconds now and interpret it as seconds,
> you'll get somewhere around 1970-01-18).{quote}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)