You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/03/01 11:54:00 UTC

[jira] [Work logged] (BEAM-6751) KafkaIO blocks FlinkRunner in EOS mode

     [ https://issues.apache.org/jira/browse/BEAM-6751?focusedWorklogId=206401&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-206401 ]

ASF GitHub Bot logged work on BEAM-6751:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Mar/19 11:53
            Start Date: 01/Mar/19 11:53
    Worklog Time Spent: 10m 
      Work Description: mxm commented on issue #7955: [BEAM-6751] Extend Kafka EOS mode whitelist / Warn instead of throw
URL: https://github.com/apache/beam/pull/7955#issuecomment-468641037
 
 
   >@mxm, warning implies that the transform would run, but not provide EOS guarantees on Flink, right? Is that ok? IOW, EOS is ignored?
   
   Yes, we cannot guarantee EOS with the current architecture. I'm not too fond of this transform check but it does reflect the situation accurately. I think it would be better to check whether the Runner handles `RequiresStableInput` instead. 
   
   We have started discussing this on the mailing: https://lists.apache.org/thread.html/d0c24cb4d421e25980fee1855d1daa68d343700270ed962d642c8f99@%3Cdev.beam.apache.org%3E
   
   I'll leave the check in place until we find a solution. Closing the PR for now.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 206401)
    Time Spent: 1h 40m  (was: 1.5h)

> KafkaIO blocks FlinkRunner in EOS mode
> --------------------------------------
>
>                 Key: BEAM-6751
>                 URL: https://issues.apache.org/jira/browse/BEAM-6751
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-kafka, runner-flink
>            Reporter: Maximilian Michels
>            Assignee: Maximilian Michels
>            Priority: Critical
>             Fix For: 2.12.0
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> KafkaIO has a validation check which whitelists certain runners capable of provide exactly-once semantics:
> {noformat}
>         if ("org.apache.beam.runners.direct.DirectRunner".equals(runner)
>             || runner.startsWith("org.apache.beam.runners.dataflow.")
>             || runner.startsWith("org.apache.beam.runners.spark.") {
> ...
> {noformat}
> The FlinkRunner supports exactly-once checkpointing but is blocked from using Kafka's exactly once mode. 
> I wonder if such a list is easily maintainable? I think we should replace the list with a warning instead. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)