GitHub user jkff opened a pull request:
https://github.com/apache/beam/pull/2885
Provides a default coder for PubsubMessage
Default coder is useful to avoid having to specify it when you use
PubsubIO.writePubsubMessages, on its input PCollection.
A couple more cosmetic changes while we're at it: moves PubsubMessage to
upper level, renames `getMessage` to `getPayload`.
R: @tgroh
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jkff/incubator-beam pubsub-coder
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/beam/pull/2885.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2885
----
commit fd9568f80610f2315b21dd65d159a1f5751dc199
Author: Eugene Kirpichov <[email protected]>
Date: 2017-05-04T01:16:47Z
Provides a default coder for PubsubMessage
commit 2a5b718b23356dc228612c74e24a9001f9998ff8
Author: Eugene Kirpichov <[email protected]>
Date: 2017-05-04T01:17:34Z
Moves PubsubMessage to upper level and renames payload
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---