You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "akisaya (Jira)" <ji...@apache.org> on 2021/01/20 09:41:00 UTC
[jira] [Created] (FLINK-21052) Wrong FlinkKafkaProducer Constructor
described in docs
akisaya created FLINK-21052:
-------------------------------
Summary: Wrong FlinkKafkaProducer Constructor described in docs
Key: FLINK-21052
URL: https://issues.apache.org/jira/browse/FLINK-21052
Project: Flink
Issue Type: Bug
Components: Documentation
Affects Versions: 1.12.0
Reporter: akisaya
[https://ci.apache.org/projects/flink/flink-docs-release-1.12/dev/connectors/kafka.html#kafka-producer]
{code:java}
FlinkKafkaProducer<String> myProducer = new FlinkKafkaProducer<>(
"my-topic", // target topic
new SimpleStringSchema(), // serialization schema
properties, // producer config
FlinkKafkaProducer.Semantic.EXACTLY_ONCE); // fault-tolerance
{code}
FlinkKafkaProducer Constructor in this doc is wrong, need a fix
--
This message was sent by Atlassian Jira
(v8.3.4#803005)