[ 
https://issues.apache.org/jira/browse/KAFKA-17947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kirk True updated KAFKA-17947:
------------------------------
    Summary: Update currentLag(), pause(), and resume() to update 
SubscriptionState in background thread  (was: Update currentLag(), pause(), and 
resume() to perform logic in background thread)

> Update currentLag(), pause(), and resume() to update SubscriptionState in 
> background thread
> -------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-17947
>                 URL: https://issues.apache.org/jira/browse/KAFKA-17947
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients, consumer
>    Affects Versions: 3.9.0
>            Reporter: Kirk True
>            Assignee: Kirk True
>            Priority: Major
>              Labels: consumer-threading-refactor, kip-848-client-support
>             Fix For: 4.0.0
>
>
> We have updated most of the {{AsyncKafkaConsumer}} API implementations to 
> move the processing to the background thread to avoid race conditions with 
> modifying the {{SubscriptionState}} in the application thread. We have a few 
> more left to migrate, among them are:
>  * {{currentLag()}}
>  * {{pause()}}
>  * {{resume()}}



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

Reply via email to