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

Ilya Ganelin commented on BEAM-404:
-----------------------------------

[[email protected]] What would this look like? At the moment there seem to 
be two method types for "Read":

{code}   
public static Bound<String> topic(String topic) {
      return new Bound<>(DEFAULT_PUBSUB_CODER).topic(topic);
}
{code}

> PubsubIO should have a mode that supports maintaining message attributes.
> -------------------------------------------------------------------------
>
>                 Key: BEAM-404
>                 URL: https://issues.apache.org/jira/browse/BEAM-404
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-gcp
>            Reporter: Daniel Halperin
>
> Right now, PubsubIO only lets uses access the message payload, decoded with 
> the user-provided coder.
> We should add a mode in which the source can return a message with the 
> metadata (attributes) as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to