You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "lothar (Jira)" <ji...@apache.org> on 2020/08/24 01:57:00 UTC
[jira] [Issue Comment Deleted] (FLINK-18780) FlinkKafkaProducer
should add another constructor accepting SerializationSchema
[ https://issues.apache.org/jira/browse/FLINK-18780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
lothar updated FLINK-18780:
---------------------------
Comment: was deleted
(was: hello,[~renqs],may I add this constructor for FlinkKafkaProducer(String, SerializationSchema<IN>, Properties, Semantic) ,I think it is
public FlinkKafkaProducer(String topicId, SerializationSchema<IN> serializationSchema, Properties producerConfig, FlinkKafkaProducer.Semantic semantic) {
this(topicId, serializationSchema, producerConfig, new KafkaSerializationSchemaWrapper<>(topicId, null, false, serializationSchema),, semantic, DEFAULT_KAFKA_PRODUCERS_POOL_SIZE);
})
> FlinkKafkaProducer should add another constructor accepting SerializationSchema
> -------------------------------------------------------------------------------
>
> Key: FLINK-18780
> URL: https://issues.apache.org/jira/browse/FLINK-18780
> Project: Flink
> Issue Type: New Feature
> Components: Connectors / Kafka
> Affects Versions: 1.11.0, 1.11.1
> Reporter: Qingsheng Ren
> Priority: Major
>
> Currently `FlinkKafkaProducer` doesn't have a constructor like
> `FlinkKafkaProducer(String, SerializationSchema<IN>, Properties, Semantic)`
> This is used as an example in Kafka DataStream Connector's documentation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)