Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,8 @@ public ApiFuture<String> publish(PubsubMessage message) {
*
* @param key The key for which to resume publishing.
*/
// TODO: make this public when Ordering keys is live
@BetaApi
void resumePublish(String key) {
@BetaApi("Ordering is not yet fully supported and requires special project enablements.")
public void resumePublish(String key) {
Preconditions.checkState(!shutdown.get(), "Cannot publish on a shut-down publisher.");
sequentialExecutor.resumePublish(key);
}
Expand Down Expand Up @@ -692,9 +691,8 @@ public Builder setRetrySettings(RetrySettings retrySettings) {
}

/** Sets the message ordering option. */
// TODO: make this public when Ordering keys is live
@BetaApi
Builder setEnableMessageOrdering(boolean enableMessageOrdering) {
@BetaApi("Ordering is not yet fully supported and requires special project enablements.")
public Builder setEnableMessageOrdering(boolean enableMessageOrdering) {
this.enableMessageOrdering = enableMessageOrdering;
return this;
}
Expand Down