Question 1: SERVICE DISCOVERY - Default Port for Eureka Server
By default, on which port does a Eureka Server run?
Question 2: API GATEWAY - Predicates in Routing
What do Predicates in Spring Cloud Gateway define?
Question 3: CENTRALIZED CONFIG - Config Client Setup
Which file is typically used by a Config Client to connect to the Config Server?
Question 4: CIRCUIT BREAKEER - Code Snippet (Config in application.yml)
What does the following config do?
Question 5: DISTRIBUTED TRACING - Micrometer Metrics Purpose
What is Micrometer used for in Spring Boot?
Question 6: SERVICE DISCOVERY - application.properties (Eureka Client)
What does this configuration achieve?
Question 7: API GATEWAY - Code Snippet (Header Predicate)
What does this config enforce?
Question 8: CENTRALIZED CONFIG - Code Snippet (Client bootstrap.yml)
What does this configuration do?
Question 9: RESILIENCE - Retry Mechanism
In Resilience4j, what does the `@Retry` annotation do?
Question 10: DISTRIBUTED TRACING - Code Snippet (Custom Span)
What does this snippet do?
Question 11: SERVICE DISCOVERY - @LoadBalanced in RestTemplate
What does the @LoadBalanced annotation do for a RestTemplate bean in a Eureka-enabled Spring Boot app?
Question 12: API GATEWAY - Filters
What is the purpose of filters in Spring Cloud Gateway?
Question 13: CENTRALIZED CONFIG - Profiles & Labels
If a service named order-service runs with profile dev, which file will Config Server serve?
Question 14: CIRCUIT BREAKEER - Code Snippet (Retry Example)
What is the effect of this snippet?
Question 15: DISTRIBUTED TRACING - Auto-Instrumentation
How does Spring Cloud Sleuth instrument HTTP requests automatically?
Question 16: SERVICE DISCOVERY - Code Snippet (Inter-Service Call)
What does the following code achieve?
Question 17: API GATEWAY - Code Snippet (Add Request Header Filter)
What does this filter configuration do?
Question 18: CENTRALIZED CONFIG - Refreshing Config at Runtime
How do you make a Spring Boot bean refreshable when config values change in Config Server?
Question 19: RESILIENCE - Bulkhead Pattern
What does the Bulkhead feature in Resilience4j achieve?
Question 20: DISTRIBUTED TRACING - Code Snippet (Micrometer Counter)
What does this snippet achieve?