Beam docs make no comment about whether DoFns should be thread-safe or not, but 
adding synchronized blocks does not harm.
GatherBundleAndSortFn has been updated to be thread-safe.

BatchFn has been re-written to use local variables only so is now thread-safe.

[ Full content available at: https://github.com/apache/beam/pull/6478 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to