Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- is related to
-
KAFKA-5818 KafkaStreams state transitions not correct
-
- Resolved
-
- links to