Skip to content

Commit 0e89054

Browse files
authored
fix: adding BetaApi annotation on AckReplyConsumerWithResponse for Exactly Once Delivery (#1097)
1 parent 13d5137 commit 0e89054

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/AckReplyConsumerWithResponse.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package com.google.cloud.pubsub.v1;
1818

19+
import com.google.api.core.BetaApi;
1920
import java.util.concurrent.Future;
2021

2122
/**
@@ -32,6 +33,8 @@
3233
* with an AckResponse.SUCCESS. Because re-deliveries are possible, you should ensure that your
3334
* processing code is idempotent, as you may receive any given message more than once.
3435
*/
36+
@BetaApi(
37+
"This is a preview feature. For more details, see https://cloud.google.com/pubsub/docs/exactly-once-delivery.")
3538
public interface AckReplyConsumerWithResponse {
3639
/**
3740
* Acknowledges that the message has been successfully processed. The service will not send the

0 commit comments

Comments
 (0)