Skip to content

Overriding Default Configurations

karthik-vn edited this page Sep 12, 2012 · 6 revisions

Eureka comes with in-built defaults which works for most of the scenarios. In case, you want to override the default configurations, there are 3 types of configurations you might want to look at.

You can extend the following default configuration classes to provide your own configuration value by using any mechanism you would like.

Important: Please do not use the interfaces, they are just for documentation purposes and is likely to change in the future.

  • Cloud or https://github.com/Netflix/eureka/blob/master/eureka-client/src/main/java/com/netflix/appinfo/MyDataCenterInstanceConfig.java Instance Configuration
  • Eureka Client Configuration
  • ![https://github.com/Netflix/eureka/blob/master/eureka-core/src/main/java/com/netflix/eureka/DefaultEurekaServerConfig.java](Eureka Server) Configuration