[ 
https://issues.apache.org/jira/browse/FLINK-24055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arvid Heise updated FLINK-24055:
--------------------------------
    Release Note: 
`FlinkKafkaConsumer` has been deprecated in favor of `KafkaSource`. To upgrade 
to the new version, please store the offsets in Kafka with 
`setCommitOffsetsOnCheckpoints` in the old `FlinkKafkaConsumer` and then stop 
with a savepoint. When resuming from the savepoint, please use 
`setStartingOffsets(OffsetsInitializer.committedOffsets())` in the new 
`KafkaSourceBuilder` to transfer the offsets to the new source.
`FlinkKafkaProducer` has been deprecated in favor of `KafkaSink`. To upgrade, 
please stop with savepoint. `KafkaSink` needs a user-configured and unique 
transaction prefix, such that transactions of different application do not 
interfere with each other.

  was:FlinkKafkaConsumer has been deprecated in favor of KafkaSource, 
FlinkKafkaProducer has been deprecated in favor of KafkaSink.


> Deprecate FlinkKafkaConsumer
> ----------------------------
>
>                 Key: FLINK-24055
>                 URL: https://issues.apache.org/jira/browse/FLINK-24055
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / Kafka
>    Affects Versions: 1.14.0
>            Reporter: Fabian Paul
>            Assignee: Fabian Paul
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.14.0
>
>
> With the introduction of the KafkaSource 
> https://issues.apache.org/jira/browse/FLINK-18323 we should deprecate the 
> FlinkKafkaConsumer to hint users to start the migration.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to