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:46:00 UTC

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

    [ https://issues.apache.org/jira/browse/FLINK-21052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17268482#comment-17268482 ] 

akisaya commented on FLINK-21052:
---------------------------------

I can do the fix job along with a fix to chinese version

> 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
>            Priority: Minor
>
> [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)