Skip to content

Conversation

@tseaver
Copy link
Contributor

@tseaver tseaver commented Mar 18, 2016

Follows @tmatsuo's suggested implementation.

Closes #798.

Hold off merging until comparing with the alternate implementation suggested by @jgeewax. (#1637)

@tseaver tseaver added do not merge Indicates a pull request not ready for merge, due to either quality or timing. api: pubsub Issues related to the Pub/Sub API. labels Mar 18, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 18, 2016
>>> [message.message_id for message in messages]
[]

Fetch pending messages, acknowledging those whose processing doesn't raise an

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling f40c398 on tseaver:798-tmatsuo_strategy into 98edc64 on GoogleCloudPlatform:master.

... batch.publish('this is the second message_payload',
... attr1='value1', attr2='value2')
>>> from gcloud.pubsub.subscription import AutoAck
>>> with AutoAck(subscription, max_messages=10) as ack:

This comment was marked as spam.

This comment was marked as spam.

@tseaver tseaver removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jul 11, 2016
@daspecster
Copy link
Contributor

LGTM, I don't really have the whole story for this though.

@tseaver
Copy link
Contributor Author

tseaver commented Jul 14, 2016

Rebased to pick up pylint fixes on master. I will merge when Travis passes.

@tseaver tseaver merged commit c618091 into googleapis:master Jul 14, 2016
@tseaver tseaver deleted the 798-tmatsuo_strategy branch July 14, 2016 15:59
This was referenced Aug 3, 2016
parthea pushed a commit that referenced this pull request Nov 24, 2025
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: pubsub Issues related to the Pub/Sub API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants