beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (BEAM-2703) KafkaIO: watermark outside the bounds of BoundedWindow
Date Fri, 25 Aug 2017 00:51:00 GMT


ASF GitHub Bot commented on BEAM-2703:

Github user asfgit closed the pull request at:

> KafkaIO: watermark outside the bounds of BoundedWindow
> ------------------------------------------------------
>                 Key: BEAM-2703
>                 URL:
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-extensions
>            Reporter: Chris Pettitt
>            Assignee: Raghu Angadi
> KafkaIO appears to use an incorrect lower bound for it's initial watermark with respect
> KafkaIO's initial watermark:
> new Instant(Long.MIN_VALUE) -> -9223372036854775808
> new Instant(TimeUnit.MICROSECONDS.toMillis(Long.MIN_VALUE)) -> -9223372036854775
> The difference is that the last three digits have been truncated due to the micro to
millis conversion.
> This difference can cause errors in runners that assert that the input watermark can
never regress as KafkaIO gives a value below the lower bound when no messages have been received
yet. For consistency it would probably be best for it to use BoundedWindow.TIMESTAMP_MIN_VALUE.

This message was sent by Atlassian JIRA

View raw message