RefactorFirst

Articles and tutorials about Java, Spring Boot, Software Development, and Programming. Learn about what is new in programming and look into how to optimize and write clean code.


Externalizing Application Configuration With Spring Cloud Config

In this article, we would be looking at how we can externalize configs using Spring Cloud Config. Introduction One of the principles from the 12 Factor App, states that we have to separate our application configuration from the code. The configu... Read more

Distributed Tracing With Spring Cloud Jaeger

In this article, we will explore how to implement distributed tracing using Jaeger and visualize the traces using Jaeger UI. Introduction Jaeger is an open-source distributed tracing mechanism that helps to trace requests in distributed systems.... Read more

Spring Cloud Gateway — Resource Server with Keycloak RBAC

In this article, we will be exploring how we can integrate a resource server with an API gateway that is integrated with Keycloak and enable role-based access control (RBAC). Introduction In my previous article “Spring Cloud Gateway Keycloak OAu... Read more

Spring Cloud Gateway Keycloak OAuth2 OIDC Integration

In this article, we would be looking at how we can integrate Keycloak with Spring Cloud Gateway using the OAuth2 OpenId Connect (OIDC). Introduction Keycloak is an open-source application, which provides identity and access management. It is sp... Read more

Distributed Tracing with Spring Cloud Sleuth And Zipkin

In this article, we would learn how we can implement distributed tracing and understand the key concepts of distributed tracing. Introduction In the case of a single giant application that does everything which we usually refer to as a monolith,... Read more