public interface SubscriberFactory
SubscriberInterface
using default configurations.Modifier and Type | Method and Description |
---|---|
com.google.cloud.pubsub.v1.SubscriberInterface |
createSubscriber(SubscriberFactoryConfig config)
Creates an
SubscriberInterface implementation and register the receiver to it. |
com.google.cloud.pubsub.v1.SubscriberInterface createSubscriber(SubscriberFactoryConfig config)
SubscriberInterface
implementation and register the receiver to it. Implementations should also
handle start/stop life cycle events.config
- Configuration to create Subscriber
instances.