You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/03/08 00:30:00 UTC

[jira] [Commented] (KAFKA-7831) Consumer SubscriptionState missing synchronization

    [ https://issues.apache.org/jira/browse/KAFKA-7831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16787360#comment-16787360 ] 

ASF GitHub Bot commented on KAFKA-7831:
---------------------------------------

hachikuji commented on pull request #6221: KAFKA-7831; Do not modify subscription state from background thread
URL: https://github.com/apache/kafka/pull/6221
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Consumer SubscriptionState missing synchronization
> --------------------------------------------------
>
>                 Key: KAFKA-7831
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7831
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Jason Gustafson
>            Assignee: Jason Gustafson
>            Priority: Major
>
> ConsumerCoordinator installs a Metadata.Listener in order to update pattern subscriptions after metadata changes. The listener is invoked from NetworkClient.poll, which could happen in the heartbeat thread. Currently, however, there is no synchronization in SubscriptionState to make this safe. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)