[
https://issues.apache.org/jira/browse/BEAM-13287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luke Cwik updated BEAM-13287:
-----------------------------
Fix Version/s: 2.35.0
Resolution: Fixed
Status: Resolved (was: Open)
> PubsubLite I/O outputs messages from a different thread
> -------------------------------------------------------
>
> Key: BEAM-13287
> URL: https://issues.apache.org/jira/browse/BEAM-13287
> Project: Beam
> Issue Type: Bug
> Components: io-java-gcp
> Affects Versions: 2.34.0, 2.35.0
> Reporter: Luke Cwik
> Assignee: Daniel Collins
> Priority: P2
> Fix For: 2.35.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Producing output from another thread will break the assumption that users who
> use this library may have where they don't need synchronization since methods
> like startBundle/finishBundle/processElement are all meant to be [accessed
> from one
> thread|https://beam.apache.org/documentation/programming-guide/#user-code-thread-compatibility]
> and will also break similar assumptions in the system (for example
> counters/monitoring rely on a thread local being set to pass a context object
> around).
--
This message was sent by Atlassian Jira
(v8.20.1#820001)