[ 
https://issues.apache.org/jira/browse/BEAM-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reuven Lax reopened BEAM-3489:
------------------------------

This feature does not work correctly on Dataflow. Dataflow only returns a 
PubSubMessage if the PUBSUB_SERIALIZED_ATTRIBUTES_FN is set, otherwise it 
returns PubSubMessage.message

> Expose the message id of received messages within PubsubMessage
> ---------------------------------------------------------------
>
>                 Key: BEAM-3489
>                 URL: https://issues.apache.org/jira/browse/BEAM-3489
>             Project: Beam
>          Issue Type: New Feature
>          Components: io-java-gcp
>            Reporter: Luke Cwik
>            Assignee: Thinh Ha
>            Priority: P3
>              Labels: newbie, starter
>             Fix For: 2.16.0
>
>          Time Spent: 8h 20m
>  Remaining Estimate: 0h
>
> This task is about passing forward the message id from the pubsub proto to 
> the java PubsubMessage.
> Add a message id field to PubsubMessage.
> Update the coder for PubsubMessage to encode the message id.
> Update the translation from the Pubsub proto message to the Dataflow message:
> https://github.com/apache/beam/blob/2e275264b21db45787833502e5e42907b05e28b8/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/pubsub/PubsubUnboundedSource.java#L976



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to