Skip to content

Pubsub snippets minor updates #2046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 10, 2017

Conversation

jabubake
Copy link
Contributor

@jabubake jabubake commented May 9, 2017

Adding message handler in subscriber snippet
Renaming constant project id, topic ids to be consistent across projects

@jabubake jabubake requested a review from pongad May 9, 2017 20:18
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 9, 2017
System.out.println("Id : " + message.getMessageId());
// decode from base64 to view original data
System.out.println("Data : " +
new String(DatatypeConverter.parseBase64Binary(message.getData().toStringUtf8())));

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@jabubake jabubake merged commit 4cf6e25 into googleapis:master May 10, 2017
@jabubake jabubake deleted the pubsub-snippets-update branch May 10, 2017 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants