Package io.camunda.zeebe.dispatcher
Class DispatcherBuilder
java.lang.Object
io.camunda.zeebe.dispatcher.DispatcherBuilder
Builder for a
Dispatcher-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactorSchedulingService(ActorSchedulingService actorSchedulingService) bufferSize(int bufferSize) The number of bytes the buffer is be able to contain.build()initialPosition(long initialPosition) maxFragmentLength(int maxFragmentLength) The max length of the data section of a framesubscriptions(String... subscriptionNames) Predefined subscriptions which will be created on startup in the order as they are declared.
-
Constructor Details
-
DispatcherBuilder
-
-
Method Details
-
name
-
bufferSize
The number of bytes the buffer is be able to contain. Represents the size of the data section. Additional space will be allocated for the meta-data sections -
actorSchedulingService
-
maxFragmentLength
The max length of the data section of a frame -
initialPosition
-
subscriptions
Predefined subscriptions which will be created on startup in the order as they are declared. -
build
-