| Package | Description |
|---|---|
| com.google.cloud.pubsublite | |
| com.google.cloud.pubsublite.internal |
| Modifier and Type | Method and Description |
|---|---|
static SeekTarget |
SeekTarget.of(BacklogLocation location)
Seek to a named backlog location.
|
static SeekTarget |
SeekTarget.ofEventTime(com.google.protobuf.Timestamp time)
Seek to a message event timestamp.
|
static SeekTarget |
SeekTarget.ofPublishTime(com.google.protobuf.Timestamp time)
Seek to a message publish timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.core.ApiFuture<Subscription> |
AdminClient.createSubscription(Subscription subscription,
SeekTarget target)
Create the provided subscription at the given target location within the message backlog, if it
does not yet exist.
|
com.google.api.gax.longrunning.OperationFuture<SeekSubscriptionResponse,OperationMetadata> |
AdminClient.seekSubscription(SubscriptionPath path,
SeekTarget target)
Initiate an out-of-band seek for a subscription to a specified target, which may be timestamps
or named positions within the message backlog.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.core.ApiFuture<Subscription> |
AdminClientImpl.createSubscription(Subscription subscription,
SeekTarget target) |
com.google.api.gax.longrunning.OperationFuture<SeekSubscriptionResponse,OperationMetadata> |
AdminClientImpl.seekSubscription(SubscriptionPath path,
SeekTarget target) |
Copyright © 2023 Google LLC. All rights reserved.