How wenka/springcloud-demo works
Project type and purpose
• This is a Spring Cloud / Spring Boot microservices demo repository. It contains multiple independent Spring Boot modules illustrating core Spring Cloud patterns (service registry, discovery, API gateway, client-side load balancing, circuit breaker) plus demos of messaging (RabbitMQ), WebSocket, caching (Redis), security (JWT, OAuth2, Spring Security), custom starters (Thymeleaf), data access patterns (dynamic data sources, sub-databases, SQLite), configuration (Apollo, Nacos), and more.
File structure
• Top-level: one multi-module project.
• Modules:
• eureka-server-demo (service registry)
• eureka-client-demo (registered service)
• service-feign-demo, service-ribbon-demo (client-side load-balancing)
• service-zuul-demo, service-gateway-demo (API gateways)
• service-jwt-demo, springboot-security-demo, springboot-oauth2.0-demo (security)
• service-rabbitmq-demo, service-rabbit-exchange-demo (RabbitMQ)
• service-websocket-demo (WebSocket)
• springboot-redis-demo (Redis cache)
• springboot-dynamic-datasource-demo, springboot-subdatabase-demo, springboot-sqllite-demo (data access)
• springboot-elasticsearch-demo (Elasticsearch)
• springboot-ciphertext-demo (RSA encryption)
• springboot-lock-demo (distributed lock)
• springboot-apollo-demo, springboot-nacos-demo (config services)
• springboot-thymeleaf-demo (custom starter)
README for additional insights
• Confirms the ordering and purpose of the first 14 modules; the remaining are supplementary demos.
Detail
• Multi-data-source routing for dynamic-datasource and subdatabase demos.
• Which modules use which external services or libraries (e.g., “Feign + Hystrix”, “RabbitMQ exchange”, “RSA encryption advice”, “Thymeleaf starter”).