You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Xingcan Cui (JIRA)" <ji...@apache.org> on 2017/11/22 04:05:00 UTC

[jira] [Commented] (FLINK-8118) Allow to specify the offsets of KafkaTableSources

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

Xingcan Cui commented on FLINK-8118:
------------------------------------

Hi [~twalthr], thanks for raising this. I got two questions about this issue.
# Shall we integrate the methods into the {{KafkaTableSource.Builder}} or directly into the {{KafkaTableSource}}? Personally, I prefer the later one since it will be more flexible, while that seems to break the design pattern to some extent.
# Since the {{startupMode}} in {{FlinkKafkaConsumerBase}} is invisible from outer classes, do you have some suggestions on testing this?

Thanks, Xingcan

> Allow to specify the offsets of KafkaTableSources
> -------------------------------------------------
>
>                 Key: FLINK-8118
>                 URL: https://issues.apache.org/jira/browse/FLINK-8118
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table API & SQL
>    Affects Versions: 1.4.0
>            Reporter: Timo Walther
>            Assignee: Xingcan Cui
>
> Right now the Kafka TableSources can only read from the current group offset. We should expose the possibilities of the Kafka Consumer:
> https://ci.apache.org/projects/flink/flink-docs-release-1.4/dev/connectors/kafka.html#kafka-consumers-start-position-configuration



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