You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kirk True (Jira)" <ji...@apache.org> on 2023/12/05 18:34:00 UTC

[jira] [Created] (KAFKA-15974) Enforce that CompletableApplicationEvent has a timeout

Kirk True created KAFKA-15974:
---------------------------------

             Summary: Enforce that CompletableApplicationEvent has a timeout
                 Key: KAFKA-15974
                 URL: https://issues.apache.org/jira/browse/KAFKA-15974
             Project: Kafka
          Issue Type: Improvement
          Components: clients, consumer
            Reporter: Kirk True
            Assignee: Kirk True


The intention of the CompletableApplicationEvent is for a Consumer to block waiting for the event to complete. The application thread will block for the timeout, but there is not yet a consistent manner in which events that have timed out are:

a) pruned from the event queue if they've expired before starting
b) canceled by the background thread if they've expired after starting



--
This message was sent by Atlassian Jira
(v8.20.10#820010)