public class PubSubSubscriberFactoryForEmulator extends Object implements PubSubSubscriberFactory
| 构造器和说明 |
|---|
PubSubSubscriberFactoryForEmulator(String hostAndPort,
String project,
String subscription,
int retries,
java.time.Duration timeout,
int maxMessagesPerPull) |
public PubSubSubscriber getSubscriber(com.google.auth.Credentials credentials) throws IOException
PubSubSubscriberFactorygetSubscriber 在接口中 PubSubSubscriberFactoryIOExceptionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.