You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Gyula Fora (Jira)" <ji...@apache.org> on 2022/04/03 19:22:00 UTC

[jira] [Closed] (FLINK-14002) FlinkKafkaProducer constructor that takes KafkaSerializationSchema shouldnt take default topic

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

Gyula Fora closed FLINK-14002.
------------------------------
    Resolution: Won't Fix

> FlinkKafkaProducer constructor that takes KafkaSerializationSchema shouldnt take default topic
> ----------------------------------------------------------------------------------------------
>
>                 Key: FLINK-14002
>                 URL: https://issues.apache.org/jira/browse/FLINK-14002
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / Kafka
>            Reporter: Gyula Fora
>            Priority: Not a Priority
>              Labels: auto-deprioritized-major, auto-deprioritized-minor
>
> When the KafkaSerializationSchema is used the user has the to provide the topic always when they create the ProducerRecord.
> The defaultTopic specified in the constructor (and enforced not to be null) will always be ignored, this is very misleading.
> We should depracate these constructors and create new ones without defaultTopic.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)