SpringMicroservicesinAction2Ed.2018修正版
Spring Microservices in Action 2Ed.2018修正版icensedtoJianjunShougicroservicesin actionJOHN CARNELLMANNINGSHELTER ISLANDicensedtoJianjunShouFor online information and ordering of this and other manning books, please visitwww.manning.com.thepublisheroffersdiscountsonthisbookwhenorderedinquantityFor more information, please contactManning Publications Co20 Baldwin roadPOBoⅹ761Shelter island. nY11964Emailorders@manning.como2017 by Manning Publications Co. All rights reservedNo part of this publication may be reproduced, stored in a retrieval system, or transmitted, inany form or by means electronic, mechanical, photocopying, or otherwise, without prior writtenpermission of the publisher.Many of the designations used by manufacturers and sellers to distinguish their products areclaimed as trademarks. Where those designations appear in the book, and manningPublications was aware of a trademark claim, the designations have been printed in initial capsor all capso Recognizing the importance of preserving what has been written, it is Manning's policy to havethe books we publish printed on acid-free paper, and we exert our best efforts to that endRecognizing also our responsibility to conserve the resources of our planet, Manning booksare printed on paper that is at least 15 percent recycled and processed without the use ofelemental chlorineManning publications coAcquisition editor: Greg Wild20 Baldwin RoadDevelopment editor: Marina michaelsPO Box 761Technical development editor: Raphael villelaShelter island.nY11964Copyeditor: Katie PetitoProofreader: Melody dolabTechnical proofreader: Joshua WhiteReview editorAlleksandar dragosavljevicTypesetter: Marija TudorCover designer: Marija TudorISBN9781617293986Printed in the united states of america12345678910-EBM-222120191817icensedtoJianjunShouTo my brother Jason, who even in his darkest momentsshowed me the true meaning of strength and dignityYou are a role model as a brother, husband, and father.icensedtoJianjunShouicensedtoJianjunShoubrief contents1 Welcome to the cloud, Spring 1Building microservices with Spring Boot 35Controlling your configuration with Spring cloudconfiguration server 644On service discovery 96When bad things happen: client resiliency patterns withSpring cloud and Netflix Hystrix 119Service routing with Spring Cloud and zuul 153Securing your microservices 1928Event-driven architecture with Spring cloud Stream 2289 Distributed tracing with Spring Cloud Sleuth and Zipkin 25910Deploying your microservices 288icensedtoJianjunShouicensedtoJianjunShoucontentpreface xuacknowledgments xviiabout this book xixabout the author xxiiabout the cover illustration xxiii7 Welcome to the cloud, Spring II What's a microservice? 21. 2 What is Spring and why is it relevant to microservices? 51.3 What youll learn in this book 61. 4 Why is this book relevant to you? 71.5 Building a microservice with Spring Boot 81.6 Why change the way we build applications? 121. 7 What exactly is the cloud? 131. 8 Why the cloud and microservices? 151. 9 Microservices are more than writing the code 17Core microservice development pattern 19. Microservice routingpatterns 20. Microservice client resiliency pattens 21Microservice security patterns 23. Microservice logging andtracing patterns 24. Microservice build/deployment pattens 251.10 Using Spring Cloud in building your microservices 26Spring Boot28· Spring Cloud Config28· Spring cloudservice discovery 28 Spring Cloud/ Netflix Hystrix andicensedtoJianjunShou
用户评论