xx chai created FLINK-20870:
-------------------------------
Summary: FlinkKafkaSink
Key: FLINK-20870
URL:
https://issues.apache.org/jira/browse/FLINK-20870 Project: Flink
Issue Type: Improvement
Components: API / DataStream
Affects Versions: 1.12.0
Environment: flink :1.12.0
kafka 2.2.1
Reporter: xx chai
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)