You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Tim Brooks (JIRA)" <ji...@apache.org> on 2015/07/07 06:30:04 UTC

[jira] [Commented] (KAFKA-2311) Consumer's ensureNotClosed method not thread safe

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

Tim Brooks commented on KAFKA-2311:
-----------------------------------

Created reviewboard https://reviews.apache.org/r/36242/diff/
 against branch origin/trunk

> Consumer's ensureNotClosed method not thread safe
> -------------------------------------------------
>
>                 Key: KAFKA-2311
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2311
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>            Reporter: Tim Brooks
>         Attachments: KAFKA-2311.patch
>
>
> When a call is to the consumer is made, the first check is to see that the consumer is not closed. This variable is not volatile so there is no guarantee previous stores will be visible before a read.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)