Skip to content

Instantly share code, notes, and snippets.

@jchapuis
Created March 22, 2021 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jchapuis/4dc2d0db8499dae79f680e6561b8f336 to your computer and use it in GitHub Desktop.
Save jchapuis/4dc2d0db8499dae79f680e6561b8f336 to your computer and use it in GitHub Desktop.
akka-dsl
builder
.startSystemDependent(SomeEtcdService())
.thenStartHttp(
HttpServiceDefinition(
new AkkaControllers().routes,
serverConfig.host,
serverConfig.port,
serverConfig.hardDeadline,
serverConfig.unbindingDelay
)
)
.thenStartClusterDependent(SomeEntityService())
.thenStartClusterDependent(SomeKafkaConsumerService())
.complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment