public interface PubSubSubscriberFactory extends Serializable
SubscriberStub
. This allows for customized Subscribers with
for instance tweaked configurations. Note: this class needs to be serializable.Modifier and Type | Method and Description |
---|---|
PubSubSubscriber |
getSubscriber(com.google.auth.Credentials credentials)
Creates a new SubscriberStub using the EventLoopGroup and credentials.
|
PubSubSubscriber getSubscriber(com.google.auth.Credentials credentials) throws IOException
IOException
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.