[
https://issues.apache.org/jira/browse/KAFKA-17947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kirk True updated KAFKA-17947:
------------------------------
Description:
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()}}
was:
We have updated many of the {{Consumer}} APIs to move the processing to the
background thread to avoid race conditions. We have a few more left to migrate,
among them are:
* {{currentLag()}}
* {{pause()}}
* {{resume()}}
> Update currentLag(), pause(), and resume() to perform logic 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)