Skip to content
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

feat: add exactly once delivery flag #577

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
🦉 Updates from OwlBot
gcf-owl-bot[bot] committed Feb 5, 2022
commit 12c155bf8d8ea910ad5bc5a9a1bce9b451bf3f67
17 changes: 17 additions & 0 deletions google/pubsub_v1/types/pubsub.py
Original file line number Diff line number Diff line change
@@ -558,6 +558,22 @@ class Subscription(proto.Message):
``StreamingPull`` requests will return FAILED_PRECONDITION.
If the subscription is a push subscription, pushes to the
endpoint will not be made.
enable_exactly_once_delivery (bool):
If true, Pub/Sub provides the following guarantees for the
delivery of a message with a given value of ``message_id``
on this subscription:

- The message sent to a subscriber is guaranteed not to be
resent before the message's acknowledgement deadline
expires.
- An acknowledged message will not be resent to a
subscriber.

Note that subscribers may still receive multiple copies of a
message when ``enable_exactly_once_delivery`` is true if the
message was published multiple times by a publisher client.
These copies are considered distinct by Pub/Sub and have
distinct ``message_id`` values.
topic_message_retention_duration (google.protobuf.duration_pb2.Duration):
Output only. Indicates the minimum duration for which a
message is retained after it is published to the
@@ -588,6 +604,7 @@ class Subscription(proto.Message):
)
retry_policy = proto.Field(proto.MESSAGE, number=14, message="RetryPolicy",)
detached = proto.Field(proto.BOOL, number=15,)
enable_exactly_once_delivery = proto.Field(proto.BOOL, number=16,)
topic_message_retention_duration = proto.Field(
proto.MESSAGE, number=17, message=duration_pb2.Duration,
)
17 changes: 0 additions & 17 deletions owl-bot-staging/v1/.coveragerc

This file was deleted.

2 changes: 0 additions & 2 deletions owl-bot-staging/v1/MANIFEST.in

This file was deleted.

49 changes: 0 additions & 49 deletions owl-bot-staging/v1/README.rst

This file was deleted.

376 changes: 0 additions & 376 deletions owl-bot-staging/v1/docs/conf.py

This file was deleted.

7 changes: 0 additions & 7 deletions owl-bot-staging/v1/docs/index.rst

This file was deleted.

10 changes: 0 additions & 10 deletions owl-bot-staging/v1/docs/pubsub_v1/publisher.rst

This file was deleted.

10 changes: 0 additions & 10 deletions owl-bot-staging/v1/docs/pubsub_v1/schema_service.rst

This file was deleted.

8 changes: 0 additions & 8 deletions owl-bot-staging/v1/docs/pubsub_v1/services.rst

This file was deleted.

10 changes: 0 additions & 10 deletions owl-bot-staging/v1/docs/pubsub_v1/subscriber.rst

This file was deleted.

7 changes: 0 additions & 7 deletions owl-bot-staging/v1/docs/pubsub_v1/types.rst

This file was deleted.

143 changes: 0 additions & 143 deletions owl-bot-staging/v1/google/pubsub/__init__.py

This file was deleted.

2 changes: 0 additions & 2 deletions owl-bot-staging/v1/google/pubsub/py.typed

This file was deleted.

144 changes: 0 additions & 144 deletions owl-bot-staging/v1/google/pubsub_v1/__init__.py

This file was deleted.

361 changes: 0 additions & 361 deletions owl-bot-staging/v1/google/pubsub_v1/gapic_metadata.json

This file was deleted.

2 changes: 0 additions & 2 deletions owl-bot-staging/v1/google/pubsub_v1/py.typed

This file was deleted.

15 changes: 0 additions & 15 deletions owl-bot-staging/v1/google/pubsub_v1/services/__init__.py

This file was deleted.

22 changes: 0 additions & 22 deletions owl-bot-staging/v1/google/pubsub_v1/services/publisher/__init__.py

This file was deleted.

1,409 changes: 0 additions & 1,409 deletions owl-bot-staging/v1/google/pubsub_v1/services/publisher/async_client.py

This file was deleted.

1,571 changes: 0 additions & 1,571 deletions owl-bot-staging/v1/google/pubsub_v1/services/publisher/client.py

This file was deleted.

381 changes: 0 additions & 381 deletions owl-bot-staging/v1/google/pubsub_v1/services/publisher/pagers.py

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1,060 changes: 0 additions & 1,060 deletions owl-bot-staging/v1/google/pubsub_v1/services/schema_service/async_client.py

This file was deleted.

1,268 changes: 0 additions & 1,268 deletions owl-bot-staging/v1/google/pubsub_v1/services/schema_service/client.py

This file was deleted.

139 changes: 0 additions & 139 deletions owl-bot-staging/v1/google/pubsub_v1/services/schema_service/pagers.py

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2,277 changes: 0 additions & 2,277 deletions owl-bot-staging/v1/google/pubsub_v1/services/subscriber/async_client.py

This file was deleted.

2,397 changes: 0 additions & 2,397 deletions owl-bot-staging/v1/google/pubsub_v1/services/subscriber/client.py

This file was deleted.

260 changes: 0 additions & 260 deletions owl-bot-staging/v1/google/pubsub_v1/services/subscriber/pagers.py

This file was deleted.

This file was deleted.

Loading