public class GoogleSubscriberManager extends AbstractPullSubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,GoogleSubscriberManager>
FAILED_CONSUMER_RETRY_TIME, FAILED_DEAD_LETTER_RETRY_TIME, MESSAGE_PROCESSED_OKnameFactory_| Constructor and Description |
|---|
GoogleSubscriberManager(IConfiguration config,
INameFactory nameFactory,
String projectId,
ITraceContextTransactionFactory traceFactory,
IThreadSafeErrorConsumer<org.symphonyoss.s2.common.immutable.ImmutableByteArray> unprocessableMessageConsumer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertConfigurable() |
protected void |
initSubscription(SubscriptionImpl<org.symphonyoss.s2.common.immutable.ImmutableByteArray> subscription) |
protected void |
setLifeCycleState(FugueLifecycleState arg0) |
protected void |
startSubscriptions() |
protected void |
stopSubscriptions() |
getCounter, initialize, newBatch, printQueueSize, start, submit, withCountergetTraceFactory, handleMessage, quiesce, stop, withSubscription, withSubscription, withSubscription, withSubscriptiongetSubscribers, getTotalSubscriptionCntclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComponentId, getComponentState, getComponentStatusMessagepublic GoogleSubscriberManager(IConfiguration config, INameFactory nameFactory, String projectId, ITraceContextTransactionFactory traceFactory, IThreadSafeErrorConsumer<org.symphonyoss.s2.common.immutable.ImmutableByteArray> unprocessableMessageConsumer)
config - ConfigurationnameFactory - A NameFactory.projectId - The Google project ID for the pubsub service.traceFactory - A trace context factory.unprocessableMessageConsumer - Consumer for invalid messages.protected void initSubscription(SubscriptionImpl<org.symphonyoss.s2.common.immutable.ImmutableByteArray> subscription)
initSubscription in class AbstractSubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,GoogleSubscriberManager>protected void startSubscriptions()
startSubscriptions in class AbstractSubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,GoogleSubscriberManager>protected void stopSubscriptions()
stopSubscriptions in class AbstractPullSubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,GoogleSubscriberManager>protected void assertConfigurable()
protected void setLifeCycleState(FugueLifecycleState arg0)
Copyright © 2018 Symphony Software Foundation. All rights reserved.