public class SubscriberFactoryConfig
extends java.lang.Object
Subscriber
via SubscriberFactory
.Constructor and Description |
---|
SubscriberFactoryConfig(com.google.pubsub.v1.ProjectSubscriptionName subscriptionName,
com.google.cloud.pubsub.v1.MessageReceiver receiver,
java.lang.String subscriberConfiguration,
java.lang.String defaultExecutor) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultExecutor() |
com.google.cloud.pubsub.v1.MessageReceiver |
getReceiver() |
java.lang.String |
getSubscriberConfiguration() |
com.google.pubsub.v1.ProjectSubscriptionName |
getSubscriptionName() |
public SubscriberFactoryConfig(com.google.pubsub.v1.ProjectSubscriptionName subscriptionName, com.google.cloud.pubsub.v1.MessageReceiver receiver, java.lang.String subscriberConfiguration, java.lang.String defaultExecutor)
public com.google.pubsub.v1.ProjectSubscriptionName getSubscriptionName()
public com.google.cloud.pubsub.v1.MessageReceiver getReceiver()
Subscriber
public java.lang.String getSubscriberConfiguration()
Subscription
public java.lang.String getDefaultExecutor()
ExecutorService
set for all subscribers.