public static class GoogleAsyncSubscriberManager.Builder extends AbstractSubscriberManager.Builder<org.symphonyoss.s2.common.immutable.ImmutableByteArray,GoogleAsyncSubscriberManager.Builder,GoogleAsyncSubscriberManager>
| Constructor and Description |
|---|
Builder(INameFactory nameFactory,
ITraceContextTransactionFactory traceFactory,
IThreadSafeErrorConsumer<org.symphonyoss.s2.common.immutable.ImmutableByteArray> unprocessableMessageConsumer,
IConfiguration config,
String projectId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected GoogleAsyncSubscriberManager |
construct() |
void |
validate(org.symphonyoss.s2.common.fault.FaultAccumulator faultAccumulator) |
GoogleAsyncSubscriberManager.Builder |
withProjectId(String projectId)
Set the Google project ID.
|
getTraceContextTransactionFactory, withConfig, withCounter, withSubscription, withSubscription, withSubscription, withSubscription, withTraceContextTransactionFactory, withUnprocessableMessageConsumerpublic Builder(INameFactory nameFactory, ITraceContextTransactionFactory traceFactory, IThreadSafeErrorConsumer<org.symphonyoss.s2.common.immutable.ImmutableByteArray> unprocessableMessageConsumer, IConfiguration config, String projectId)
nameFactory - A NameFactory.traceFactory - A trace context factory.unprocessableMessageConsumer - Consumer for invalid messages.config - ConfigurationprojectId - The Google project ID for the pubsub service.public GoogleAsyncSubscriberManager.Builder withProjectId(String projectId)
projectId - The ID of the Google project in which to operate.public void validate(org.symphonyoss.s2.common.fault.FaultAccumulator faultAccumulator)
validate in class AbstractSubscriberManager.Builder<org.symphonyoss.s2.common.immutable.ImmutableByteArray,GoogleAsyncSubscriberManager.Builder,GoogleAsyncSubscriberManager>protected GoogleAsyncSubscriberManager construct()
construct in class org.symphonyoss.s2.common.fluent.BaseAbstractBuilder<GoogleAsyncSubscriberManager.Builder,GoogleAsyncSubscriberManager>Copyright © 2018 Symphony Software Foundation. All rights reserved.