TheNeuralBit opened a new issue, #23525:
URL: https://github.com/apache/beam/issues/23525

   ### What happened?
   
   We register multiple coders for `PubsubMessage`:
   
https://github.com/apache/beam/blob/9b2f87d0201e8923a021c6bedbe0f64e37704014/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/pubsub/PubsubCoderProviderRegistrar.java#L32-L40
   
   But in practice everything but the first one is a no-op. We will never use 
them (see https://github.com/apache/beam/pull/22216#discussion_r951821329 for a 
detailed explanation). This means that in cases where the coder for a 
`PCollection<PubsubMessage>` is inferred, we will use 
`PubsubMessageWithAttributesCoder`, which does not handle messageID or 
orderingKey.
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: io-java-gcp


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to