[
https://issues.apache.org/jira/browse/FLINK-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15048718#comment-15048718
]
ASF GitHub Bot commented on FLINK-3121:
---------------------------------------
GitHub user aljoscha opened a pull request:
https://github.com/apache/flink/pull/1447
[FLINK-3121] Emit Final Watermark in Kafka Source
Kafka sources that don't read from any partition never emit a watermark,
thereby blocking the progress of event-time in downstream operations.
This changes the Kafka Source to emit a Long.MAX_VALUE watermark if it
knows that it will never receive data.
This also changes the Timestamp Extraction operator to reacto to a
Long.MAX_VALUE watermark by itself emitting a Long.MAX_VALUE watermark.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aljoscha/flink watermark-fix-kafka
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1447.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1447
----
commit 01cbfe2cb556af1780670b16ec833084383b4cd1
Author: Aljoscha Krettek <[email protected]>
Date: 2015-12-09T11:13:22Z
[FLINK-3121] Emit Final Watermark in Kafka Source
Kafka sources that don't read from any partition never emit a watermark,
thereby blocking the progress of event-time in downstream operations.
This changes the Kafka Source to emit a Long.MAX_VALUE watermark if it
knows that it will never receive data.
This also changes the Timestamp Extraction operator to reacto to a
Long.MAX_VALUE watermark by itself emitting a Long.MAX_VALUE watermark.
----
> Watermark forwarding does not work for sources not producing any data
> ---------------------------------------------------------------------
>
> Key: FLINK-3121
> URL: https://issues.apache.org/jira/browse/FLINK-3121
> Project: Flink
> Issue Type: Bug
> Reporter: Robert Metzger
> Priority: Blocker
>
> This mailing list discussion explains the issue in detail:
> http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Custom-TimestampExtractor-and-FlinkKafkaConsumer082-td3488.html
> As a workaround for now, the Kafka source can emit a final watermark for
> sources not producing any data.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)