Steven Zhen Wu created FLINK-14943: -------------------------------------- Summary: make callback and related members protected so that user can override the callback handling Key: FLINK-14943 URL: https://issues.apache.org/jira/browse/FLINK-14943 Project: Flink Issue Type: Improvement Components: Connectors / Kafka Affects Versions: 1.9.1 Reporter: Steven Zhen Wu
FlinkKafkaProducer's `logFailuresOnly` is either log everything or fail everything. We want to selectively drop/skip records on certain exceptions, like `RecordTooLargeException`. So we want to override the callback when extending FlinkKafkaProducer class. Hence this request of making callback, asyncException, and acknowledgeMessage protected. -- This message was sent by Atlassian Jira (v8.3.4#803005)