Spring Cloud Discovery with Spring Boot Admin

When registering services in the Spring Boot Admin dashboard there are two options:

  1. including the spring boot admin client dependency into the service
  2. or using Spring Cloud Discovery with a supported implementation (Eureka, Consul, Zookeeper)

I prefer using the Spring Cloud Discovery option because it feels more lightweight without including a dependency into the services and most of the time a Spring Cloud Discovery is already used for the services, why not leverage this one as well for Spring Boot Admin.

Read More

Install a specific version of a formula with homebrew

Installing software packages on Mac is very easy with homebrew. You typically get the latest version, however often in production you do not have the latest version of a software package. Another use case is when you upgrade to the latest and you find out there is bug which blocks you doing something. In this case you would like to downgrade to the previous version until the bug is fixed. In both cases you need to install a specific version of a software package with homebrew on your Mac, which tends to be not that trivial. There is a lot of discussion about this on stackoverflow but some of them are outdated based on brew versions which is not available anymore.

Read More