Eureka Registration
Overview
Helidon’s Eureka Server Service Instance Registration Integration provides a
ServerFeature that offers support for automatically and
unobtrusively attempting to register a running Helidon microservice with an
available Netflix Eureka Server of at least version 2.0.5 in the microservice’s
runtime environment.
Usage
Installation
Maven Coordinates
To enable Eureka Server Service Instance Registration Integration, add the
following dependency to your project’s pom.xml (see Managing
Dependencies).
This feature is fundamentally a ServerFeature, and is
automatically installed by its associated
ServerFeatureProvider when the provider is found in
configuration (see below).
Configuration
You need to specify at an absolute minimum the URI to the available Netflix Eureka Server of at least version 2.0.5 in the microservice’s runtime environment:
All other configuration values can be (and ordinarily are) defaulted, but some are best set explicitly:
Please consult the Helidon Config Reference for a full description of the permitted configuration.
Logging
This feature is deliberately designed to be unobtrusive. Unobtrusive means that if everything is working properly Eureka Server service instance registration will simply happen, quietly, behind the scenes, automatically. If something goes wrong, service instance registration will not interrupt the running microservice. Therefore, the information this feature logs can be important.
Like all other Helidon components, this feature uses Java logging. Its loggers
begin with the io.helidon.integrations.eureka prefix, and log debug, warning
and error-level information.
Information about how this feature is communicating with the Eureka Server is
logged by loggers under the io.helidon.webclient prefix.
Related Documentation
Users of this feature may also be interested in the (related) Discovery feature, particularly its Eureka provider.