Skip to content

Instantly share code, notes, and snippets.

@dhanji
Created April 28, 2023 01:23
Show Gist options
  • Save dhanji/098965256a895dd8971df6cc48125b36 to your computer and use it in GitHub Desktop.
Save dhanji/098965256a895dd8971df6cc48125b36 to your computer and use it in GitHub Desktop.
val notifyCustomerSchema = Ftl.schema {
verb(::notifyCustomer)
connectors {
http {
routes("/notify", "/notify-customer")
formats(Format.JSON)
}
grpc()
}
runtime {
autoscale()
}
resources {
mysql {
name("jdbc://...")
capacity(read = 20, write = 5)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment