You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/09/01 15:26:02 UTC
[jira] [Created] (KAFKA-5820) Remove unneeded synchronized keyword
in StreamThread
Ted Yu created KAFKA-5820:
-----------------------------
Summary: Remove unneeded synchronized keyword in StreamThread
Key: KAFKA-5820
URL: https://issues.apache.org/jira/browse/KAFKA-5820
Project: Kafka
Issue Type: Improvement
Reporter: Ted Yu
Priority: Minor
There are three methods in StreamThread which have unnecessary synchronized keyword since the variable accessed, state, is volatile :
isRunningAndNotRebalancing
isRunning
shutdown
synchronized keyword can be dropped for these methods.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)