Package io.camunda.zeebe.broker
Class StandaloneBroker
java.lang.Object
io.camunda.zeebe.broker.StandaloneBroker
- All Implemented Interfaces:
EventListener,org.springframework.boot.CommandLineRunner,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
@SpringBootApplication(scanBasePackages={"io.camunda.zeebe.broker","io.camunda.zeebe.shared"})
@ConfigurationPropertiesScan(basePackages={"io.camunda.zeebe.broker","io.camunda.zeebe.shared"})
public class StandaloneBroker
extends Object
implements org.springframework.boot.CommandLineRunner, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
Entry point for the standalone broker application. By default, it enables the
Profile.BROKER profile, loading the appropriate application properties overrides.
See main(String[]) for more.
-
Constructor Summary
ConstructorsConstructorDescriptionStandaloneBroker(BrokerCfg configuration, org.springframework.core.env.Environment springEnvironment, SpringBrokerBridge springBrokerBridge, ActorClockConfiguration clockConfig) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidonApplicationEvent(org.springframework.context.event.ContextClosedEvent event) void
-
Constructor Details
-
Method Details
-
main
-
run
- Specified by:
runin interfaceorg.springframework.boot.CommandLineRunner
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextClosedEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
-