flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-8001) Mark Kafka Consumer as idle if it doesn't have partitions
Date Tue, 07 Nov 2017 13:36:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-8001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16241997#comment-16241997
] 

ASF GitHub Bot commented on FLINK-8001:
---------------------------------------

Github user aljoscha commented on the issue:

    https://github.com/apache/flink/pull/4967
  
    The changes look good! Thanks for fixing it this quickly. 😃 


> Mark Kafka Consumer as idle if it doesn't have partitions
> ---------------------------------------------------------
>
>                 Key: FLINK-8001
>                 URL: https://issues.apache.org/jira/browse/FLINK-8001
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Aljoscha Krettek
>            Assignee: Tzu-Li (Gordon) Tai
>            Priority: Blocker
>             Fix For: 1.4.0, 1.3.3
>
>
> In Flink 1.3.x the Kafka Consumer will emit a {{Long.MAX_VALUE}} watermark if it has
zero partitions assigned. If this happens and other parallel instances of the Kafka Consumer
are marked as idle (which currently never happens by default but does happen in custom forks
of our Kafka code) this means that the watermark jumps to {{Long.MAX_VALUE}} downstream.
> In Flink 1.4.x this happens implicitly in the {{PeriodicWatermarkEmitter}} in {{AbstractFetcher}}
where the watermark is {{Long.MAX_VALUE}} if we don't have any partitions. This should be
changed to mark the source as idle instead, if we don't have any partitions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message