1

Migrating an SpringApplication I find that there are profiles used to run in different modes. Anytime there may be different instances with different profiles running in production at the same time.

I want to be able to change those Spring profiles from Consul. But Consul seems to work the other way arround. Profiles change properties.

How can I change the profile from Consul?

borjab
  • 11,149
  • 6
  • 71
  • 98

1 Answers1

0

You can change the profile from consul, but your service needs to restart to work with new profile.

Ali mjz
  • 13
  • 4