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:37:00 UTC
[jira] [Commented] (KAFKA-15974) Enforce that CompletableApplicationEvent has a timeout that is respected
[ https://issues.apache.org/jira/browse/KAFKA-15974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17793393#comment-17793393 ]
Kirk True commented on KAFKA-15974:
-----------------------------------
cc [~schofielaj] [~pnee] [~lianetm]
> Enforce that CompletableApplicationEvent has a timeout that is respected
> ------------------------------------------------------------------------
>
> 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
> Priority: Major
> Labels: consumer-threading-refactor, kip-848-client-support
>
> 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 are timed out.
> Steps:
> 1. Add the timeout to all the {{CompletableApplicationEvent}}s
> 2. Prune the event queue if events have expired before starting
> 3. Canceled by the background thread if the event expired after starting
--
This message was sent by Atlassian Jira
(v8.20.10#820010)