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

Lianet Magrans resolved KAFKA-20309.
------------------------------------
    Resolution: Fixed

> Too many SharePollEvents created
> --------------------------------
>
>                 Key: KAFKA-20309
>                 URL: https://issues.apache.org/jira/browse/KAFKA-20309
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 4.2.0
>            Reporter: Andrew Schofield
>            Assignee: Andrew Schofield
>            Priority: Major
>
> SharePollEvent is used in a share consumer to signal to the background thread 
> that the application thread is polling. The mechanism for governing when to 
> make a new event is too loose which can result in too many events being 
> created. Generally, there is only a single event outstanding, but sometimes a 
> higher number are enqueued unnecessarily.
> The AsyncKafkaConsumer introduced a mechanism to control the number of events 
> and something similar is appropriate in the share consumer also.



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

Reply via email to