Chia-Ping Tsai created KAFKA-12195:
--------------------------------------

             Summary: Fix synchronization issue happening in KafkaStreams 
(related to flaky AdjustStreamThreadCountTest)
                 Key: KAFKA-12195
                 URL: https://issues.apache.org/jira/browse/KAFKA-12195
             Project: Kafka
          Issue Type: Improvement
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


{code}
threads = Collections.synchronizedList(new LinkedList<>());
{code}

The synchronization list requires us to manually synchronize the iterator. 
non-synchronizing the list results in inconsistent results and consequently 
unstabilize the AdjustStreamThreadCountTest.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to