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 Details

  • Method Details

    • main

      public static void main(String[] args)
    • run

      public void run(String... args)
      Specified by:
      run in interface org.springframework.boot.CommandLineRunner
    • onApplicationEvent

      public void onApplicationEvent(org.springframework.context.event.ContextClosedEvent event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>