[jira] [Created] (FLINK-21052) Wrong FlinkKafkaProducer Constructor described in docs

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-21052) Wrong FlinkKafkaProducer Constructor described in docs

Shang Yuanchun (Jira)
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)