public class GoogleSubscriber extends Object implements com.google.cloud.pubsub.v1.MessageReceiver
| Constructor and Description |
|---|
GoogleSubscriber(org.symphonyoss.s2.fugue.google.pubsub.GoogleAbstractSubscriberManager<?> manager,
ITraceContextFactory traceFactory,
IThreadSafeRetryableConsumer<org.symphonyoss.s2.common.immutable.ImmutableByteArray> consumer,
SubscriptionName subscriptionName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
receiveMessage(com.google.pubsub.v1.PubsubMessage message,
com.google.cloud.pubsub.v1.AckReplyConsumer consumer) |
public GoogleSubscriber(org.symphonyoss.s2.fugue.google.pubsub.GoogleAbstractSubscriberManager<?> manager, ITraceContextFactory traceFactory, IThreadSafeRetryableConsumer<org.symphonyoss.s2.common.immutable.ImmutableByteArray> consumer, SubscriptionName subscriptionName)
manager - The manager.traceFactory - A trace factory.consumer - Sink for received messages.subscriptionName - The name of the subscription we are processing forCopyright © 2018 Symphony Software Foundation. All rights reserved.