[ https://issues.apache.org/jira/browse/FLINK-20870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17260939#comment-17260939 ]
xx chai commented on FLINK-20870: --------------------------------- this is my program > FlinkKafkaSink > -------------- > > Key: FLINK-20870 > URL: https://issues.apache.org/jira/browse/FLINK-20870 > Project: Flink > Issue Type: Bug > Components: Connectors / Kafka > Affects Versions: 1.12.0 > Environment: flink :1.12.0 > kafka 2.2.1 > Reporter: xx chai > Priority: Major > Attachments: 1610072517(1).jpg > > > 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)