| Modifier and Type | Method and Description |
|---|---|
abstract SubscriptionPath |
SubscriptionPath.Builder.build()
Build a new SubscriptionPath.
|
static SubscriptionPath |
SubscriptionPath.parse(String path) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.core.ApiFuture<List<SubscriptionPath>> |
AdminClient.listTopicSubscriptions(TopicPath path)
Get the list of subscriptions for the topic with id
id if it exists. |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.core.ApiFuture<Void> |
AdminClient.deleteSubscription(SubscriptionPath path)
Delete the subscription with id
id if it exists. |
com.google.api.core.ApiFuture<Subscription> |
AdminClient.getSubscription(SubscriptionPath path)
Get the subscription with id
id if it exists. |
static int |
PartitionLookupUtils.numPartitions(SubscriptionPath subscription)
Look up the number of partitions in the topic associated with a subscription.
|
static int |
PartitionLookupUtils.numPartitions(SubscriptionPath subscription,
AdminClient client)
Look up the number of partitions in the topic associated with a subscription using the provided
AdminClient.
|
| Modifier and Type | Method and Description |
|---|---|
abstract SubscriberSettings.Builder |
SubscriberSettings.Builder.setSubscriptionPath(SubscriptionPath path)
The subscription to use to receive messages.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.core.ApiFuture<List<SubscriptionPath>> |
AdminClientImpl.listTopicSubscriptions(TopicPath path) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.core.ApiFuture<Void> |
CursorClientImpl.commitCursor(SubscriptionPath path,
Partition partition,
Offset offset) |
com.google.api.core.ApiFuture<Void> |
CursorClient.commitCursor(SubscriptionPath path,
Partition partition,
Offset offset)
Commit a single cursor.
|
com.google.api.core.ApiFuture<Void> |
AdminClientImpl.deleteSubscription(SubscriptionPath path) |
com.google.api.core.ApiFuture<Subscription> |
AdminClientImpl.getSubscription(SubscriptionPath path) |
com.google.api.core.ApiFuture<Map<Partition,Offset>> |
CursorClientImpl.listPartitionCursors(SubscriptionPath path) |
com.google.api.core.ApiFuture<Map<Partition,Offset>> |
CursorClient.listPartitionCursors(SubscriptionPath path)
List the cursors for a given subscription.
|
| Modifier and Type | Method and Description |
|---|---|
static SubscriptionPath |
UnitTestExamples.exampleSubscriptionPath() |
| Modifier and Type | Method and Description |
|---|---|
static RoutingMetadata |
RoutingMetadata.of(SubscriptionPath subscription,
Partition partition) |
abstract AssignerSettings.Builder |
AssignerSettings.Builder.setSubscriptionPath(SubscriptionPath path) |
abstract CommitterSettings.Builder |
CommitterSettings.Builder.setSubscriptionPath(SubscriptionPath path) |
abstract SubscriberBuilder.Builder |
SubscriberBuilder.Builder.setSubscriptionPath(SubscriptionPath path) |
Copyright © 2021 Google LLC. All rights reserved.