Cargando…

Mastering Spring Cloud : Build self-healing, microservices-based, distributed systems using Spring Cloud.

Developing, deploying, and operating cloud applications should be as easy as local applications. This should be the governing principle behind any cloud platform, library, or tool. Spring Cloud makes it easy to develop JVM applications for the cloud. In this book, we introduce you to Spring Cloud an...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Mińkowski, Piotr
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2018.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Title Page; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Introduction to Microservices; The blessings of microservices; Building microservices with Spring Framework; Cloud-native development; Learning the microservices architecture; Understanding the need for service discovery; Communication between services; Failures and circuit breakers; Summary; Chapter 2: Spring for Microservices; Introducing Spring Boot; Developing applications with Spring Boot; Customizing configuration files; Creating RESTful Web Services; API Documentation.
  • Using Swagger 2 together with Spring BootTesting API with Swagger UI; Spring Boot Actuator features; Application information; Health information; Metrics; Developer tools; Integrating application with database; Building a sample application; Running the application; Summary; Chapter 3: Spring Cloud Overview; Beginning with the basics; Netflix OSS; Service discovery with Eureka; Routing with Zuul; Load balancing with Ribbon; Writing Java HTTP clients; Latency and fault tolerance with Hystrix; Configuration management with Archaius; Discovery and distributed configuration.
  • An alternative
  • ConsulApache Zookeeper; Miscellaneous projects; Distributed tracing with Sleuth; Messaging and integration; Cloud platform support; Other useful libraries; Security; Automated testing; Cluster features; Projects overview ; Release trains; Summary; Chapter 4: Service Discovery; Running Eureka on the server side; Enabling Eureka on the client side; Deregistration on shutdown; Using discovery client programmatically; Advanced configuration settings; Refreshing the registry; Changing the instance identificator ; Preferring the IP address; Response cache.
  • Enabling secure communication between client and serverRegistering a secure service; Eureka API; Replication and high availability; Architecture of the sample solution; Building the example application; Failover; Zones; Zones with a standalone server; Building an example application; Summary; Chapter 5: Distributed Configuration with Spring Cloud Config; Introduction to HTTP API resources; Native profile support; Building a server-side application; Building a client-side application; Adding a Eureka Server; Client-side bootstrap approaches; Config Server discovery; Repository backend types.
  • Filesystem backendGit backend; Different protocols; Using placeholders in URIs; Building a server application; Client-side configuration; Multiple repositories; Vault backend; Getting started with Vault; Integration with Spring Cloud Config; Client-side configuration; Additional features; Fail on start and retry; Secure client; Reload configuration automatically; Solution architecture; Reload configuration with @RefreshScope; Consuming events from a message broker; Monitoring repository changes on a Config Server; Simulating change events manually; Testing locally with a GitLab instance.