[ https://issues.apache.org/jira/browse/FLINK-13204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Piotr Nowojski reassigned FLINK-13204: -------------------------------------- Assignee: Piotr Nowojski > The subscribedPartitionStates should be thread safe. > ---------------------------------------------------- > > Key: FLINK-13204 > URL: https://issues.apache.org/jira/browse/FLINK-13204 > Project: Flink > Issue Type: Bug > Components: Connectors / Kafka > Affects Versions: 1.8.0 > Reporter: Jiangjie Qin > Assignee: Piotr Nowojski > Priority: Major > Fix For: 1.9.0 > > > The \{{subscribedPartitionState}} should be thread safe. This variable may be > modified by the partition discoverer thread while being read by the main > thread. So when subscribed partition changes (e.g. partition expansion, new > topic matching the pattern is created), a > \{{ConcurrentModificationException}} may be thrown. > The fix is to use the set from a {{ConcurrentHashMap}} instead of a \{{List}} > for \{{subscribedPartitionState}}. -- This message was sent by Atlassian JIRA (v7.6.14#76016)