[ https://issues.apache.org/jira/browse/FLINK-20870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flink Jira Bot updated FLINK-20870: ----------------------------------- Labels: auto-deprioritized-major auto-deprioritized-minor (was: auto-deprioritized-major stale-minor) Priority: Not a Priority (was: Minor) This issue was labeled "stale-minor" 7 days ago and has not received any updates so it is being deprioritized. If this ticket is actually Minor, please raise the priority and ask a committer to assign you the issue or revive the public discussion. > 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: Not a Priority > Labels: auto-deprioritized-major, auto-deprioritized-minor > Attachments: 1610089153(1).png > > > 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.20.1#820001)