[ https://issues.apache.org/jira/browse/BEAM-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16401739#comment-16401739 ]
Grzegorz Kołakowski commented on BEAM-3087: ------------------------------------------- I "accidentally" started working on this as a part of this task: BEAM-2393 3 weeks ago. However, I got stuck (please see the discussion under the task). > Extend lock scope in Flink UnboundedSourceWrapper > ------------------------------------------------- > > Key: BEAM-3087 > URL: https://issues.apache.org/jira/browse/BEAM-3087 > Project: Beam > Issue Type: Bug > Components: runner-flink > Reporter: Aljoscha Krettek > Assignee: Grzegorz Kołakowski > Priority: Major > > In {{UnboundedSourceWrapper}} the lock scope is not big enough: we > synchronise in {{emitElement()}} but should instead synchronise inside the > reader loop in {{run()}} because the {{Source}} interface does not allow > concurrent calls. -- This message was sent by Atlassian JIRA (v7.6.3#76005)