beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BEAM-2185) KafkaIO bounded source
Date Fri, 05 May 2017 21:09:04 GMT
Raghu Angadi created BEAM-2185:
----------------------------------

             Summary: KafkaIO bounded source
                 Key: BEAM-2185
                 URL: https://issues.apache.org/jira/browse/BEAM-2185
             Project: Beam
          Issue Type: New Feature
          Components: sdk-java-extensions
            Reporter: Raghu Angadi
            Assignee: Davor Bonaci


KafkaIO could be a useful source for batch applications as well. It could implement a bounded
source. The primary question is how the bounds are specified. 
One option : source specifies a time period (say 9am-10am), and KafkaIO fetch appropriate
start and end offsets based on time-index in Kafka. This would suite many batch applications
that are lauched on a scheduled.

Another option is to always read till the end and commit the offsets to Kafka. Handling failures
and multiple runs of a task might be complicated.





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message