You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "xiongqi wu (Jira)" <ji...@apache.org> on 2020/12/03 21:55:00 UTC
[jira] [Created] (KAFKA-10806) throwable from user callback on
completeFutureAndFireCallbacks can lead to unhandled exceptions
xiongqi wu created KAFKA-10806:
----------------------------------
Summary: throwable from user callback on completeFutureAndFireCallbacks can lead to unhandled exceptions
Key: KAFKA-10806
URL: https://issues.apache.org/jira/browse/KAFKA-10806
Project: Kafka
Issue Type: Bug
Reporter: xiongqi wu
When kafka producer tries to complete/abort a batch, producer invokes user callback. However, "completeFutureAndFireCallbacks" only captures exceptions from user callback not all throwables. An uncaught throwable can prevent the batch from being freed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)