[ 
https://issues.apache.org/jira/browse/BEAM-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16583075#comment-16583075
 ] 

Emmanuel Barajas edited comment on BEAM-3489 at 8/16/18 9:29 PM:
-----------------------------------------------------------------

--- > Open Source Challenge <----
 Proposal for resolution of this jira:

 

RecordID can be obtained from ./i/g/p/PubsubClient.java class to then be added 
to `return new PubsubMessage(current.elementBytes, current.attributes); ` which 
is located in ./i/g/p/PubsubUnboundedSource.java

After this, the message id should be encoded.

Pending : How to update the translateion from the pubsub proto message to the 
Dataflow message.


was (Author: vanfalen):
*** Open Source Challenge ***
Proposal for resolution of this jira:

 

RecordID can be obtained from ./i/g/p/PubsubClient.java class to then be added 
to `return new PubsubMessage(current.elementBytes, current.attributes); ` which 
is located in ./i/g/p/PubsubUnboundedSource.java

After this, the message id should be encoded.

Pending : How to update the translateion from the pubsub proto message to the 
Dataflow 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
>            Priority: Minor
>              Labels: newbie, starter
>
> 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
(v7.6.3#76005)

Reply via email to