Luke Cwik created BEAM-13287:
--------------------------------

             Summary: 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
            Reporter: Luke Cwik
            Assignee: Daniel Collins


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)

Reply via email to