Internal
Internal service discovery is a self discovery mechanism which allows you to integrate your Spring applications with Ostara via a simple dependency.
This type of service discovery is only supported for Spring Boot 3 and above, and requires Java 17 and above.
Setup
Add the following dependency to your project:
The client dependency goes by the same version as Ostara
Gradle (Kotlin)
Gradle (Groovy)
Maven
After adding the dependency, you must set the following configuration:
Yaml
Properties
Finally, add the @EnableOstaraClient
annotation to any configuration bean:
Last updated