-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Adding subscription factory on Pub / Sub client. #3370
Conversation
return Subscription( | ||
name, ack_deadline=ack_deadline, push_endpoint=push_endpoint, | ||
retain_acked_messages=retain_acked_messages, | ||
message_retention_duration=message_retention_duration, client=self) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@tseaver @lukesneeringer @jonparrott Can you weigh in on this feature? |
docs/pubsub_snippets.py
Outdated
SUBSCRIPTION_NAME = 'subscription_factory-%d' % (_millis(),) | ||
|
||
# [START client_subscription] | ||
subscription = client.topic( |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
return Subscription( | ||
name, ack_deadline=ack_deadline, push_endpoint=push_endpoint, | ||
retain_acked_messages=retain_acked_messages, | ||
message_retention_duration=message_retention_duration, client=self) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
As a note, we are about to do a huge rewrite on this, so this PR is going to be moot soon. |
Luke, does the rewrite profoundly affect the admin operations like this one?
…On Wed, May 10, 2017 at 10:41 AM, Luke Sneeringer ***@***.***> wrote:
As a note, we are about to do a *huge* rewrite on this, so this PR is
going to be moot soon.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3370 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARrMFtALfw0vSA3WSPGl1jB7p6D-IcGAks5r4cyNgaJpZM4NREKf>
.
--
Kir Titievsky | Product Manager | Google Cloud Pub/Sub
<https://cloud.google.com/pubsub/overview>
|
@kir-titievsky @lukesneeringer Let's just merge this as-is (without |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Merge it.
Fixes #3369.
/cc @kir-titievsky