resilience4j / resilience4j-spring-boot2-demo

A Spring Boot 2 demo which shows how to use the Resilience4j Spring Boot 2 Starter
Apache License 2.0
254 stars 190 forks source link

How to change the config resilience4j from applicaton.yml to file application.properites #39

Closed dunguchi closed 4 years ago

dunguchi commented 4 years ago

my project right now don't use applicaton.yml. I am using application.properites file. How can i config it also maybe we have another way to config resilience4j without applicaton.yml, application.properites. May i config with Java.Class. Thanks!

silviobuss commented 4 years ago

Hi,

I have some projects (privates) that use resilience4j with application.properties. The idea is the same of model with application.yml file. This is an example:

image

Hope this helps :)

dunguchi commented 4 years ago

Thanks @silviobuss for your help. I have a question. Did you use java bean for config resilience4j to config to replace applicaton.yml or application.properites. Thank you!