You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "xx chai (Jira)" <ji...@apache.org> on 2021/01/07 02:03:00 UTC

[jira] [Updated] (FLINK-20870) FlinkKafkaSink

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

xx chai updated FLINK-20870:
----------------------------
    Issue Type: Bug  (was: Improvement)

> FlinkKafkaSink
> --------------
>
>                 Key: FLINK-20870
>                 URL: https://issues.apache.org/jira/browse/FLINK-20870
>             Project: Flink
>          Issue Type: Bug
>          Components: API / DataStream
>    Affects Versions: 1.12.0
>         Environment: flink :1.12.0
> kafka 2.2.1
>            Reporter: xx chai
>            Priority: Major
>
> I consum from kafka sink to kafka,Then I split the message into then pieces.I guess the ten message should in one transaction. When the fifth message is sink kafka ,I throw a exception.but the first four are already in kafka.
> I set some parameters :
>        properties.setProperty("transactional.id", "cxx");
>         properties.setProperty("ack", "all");
>         properties.put("enable.idempotence",true);
>         properties.put("max.in.flight.requests.per.connection",5);
>         properties.put("retries", 2);
>         properties.setProperty("client.id", "producer-syn-2");
>         properties.put("isolation.level","read_committed");



--
This message was sent by Atlassian Jira
(v8.3.4#803005)