Learn Microservices with Spring Boot 3: A Practical Approach Using Event-Driven Architecture, Cloud-Native Patterns, and Containerization 3rd Edition Moisés Macero García download
Learn Microservices with Spring Boot 3: A Practical Approach Using Event-Driven Architecture, Cloud-Native Patterns, and Containerization 3rd Edition Moisés Macero García download
https://ebookmeta.com/product/learn-microservices-with-spring-
boot-3-moises-macero-garcia/
https://ebookmeta.com/product/practical-event-driven-
microservices-architecture-building-sustainable-and-highly-
scalable-event-driven-microservices-oliveira-rocha/
https://ebookmeta.com/product/portraits-of-wittgenstein-ian-
ground-editor-f-a-flowers-iii-editor/
Implication 1st Edition Ray Clark
https://ebookmeta.com/product/implication-1st-edition-ray-clark/
https://ebookmeta.com/product/the-15-commitments-of-conscious-
leadership-a-new-paradigm-for-sustainable-success-1st-edition-
jim-dethmer-diana-chapman-kaley-klemp/
https://ebookmeta.com/product/analysis-and-design-of-
geotechnical-structures-first-edition-manuel-matos-fernandes/
https://ebookmeta.com/product/decolonial-feminism-in-abya-yala-
caribbean-meso-and-south-american-contributions-and-
challenges-1st-edition-maria-lugones/
https://ebookmeta.com/product/what-makes-the-systems-engineer-
successful-various-surveys-suggest-an-answer-1st-edition-howard-
eisner/
Psychoanalytic Investigations in Philosophy An
Interdisciplinary Exploration of Current Existential
Challenges 1st Edition Dorit Lemberger
https://ebookmeta.com/product/psychoanalytic-investigations-in-
philosophy-an-interdisciplinary-exploration-of-current-
existential-challenges-1st-edition-dorit-lemberger/
Learn Microservices
with Spring Boot 3
A Practical Approach Using Event-Driven
Architecture, Cloud-Native Patterns, and
Containerization
—
Third Edition
—
Moisés Macero García
Tarun Telang
Learn Microservices
with Spring Boot 3
A Practical Approach Using
Event-Driven Architecture,
Cloud-Native Patterns,
and Containerization
Third Edition
Acknowledgments�������������������������������������������������������������������������������������������������xvii
v
Table of Contents
JUnit 5����������������������������������������������������������������������������������������������������������������������������������� 23
Mockito���������������������������������������������������������������������������������������������������������������������������������� 23
AssertJ���������������������������������������������������������������������������������������������������������������������������������� 27
Testing in Spring Boot����������������������������������������������������������������������������������������������������������������� 28
Logging��������������������������������������������������������������������������������������������������������������������������������������� 29
Summary and Achievements������������������������������������������������������������������������������������������������������ 30
vi
Table of Contents
vii
Table of Contents
viii
Table of Contents
ix
Table of Contents
x
Table of Contents
Index��������������������������������������������������������������������������������������������������������������������� 451
xi
About the Authors
Moisés Macero García has been a software developer since he was a kid, when he
started playing around with BASIC on his ZX Spectrum. During his career, Moisés has
most often worked in development and architecture for small and large projects, and
for his own startups as well. He enjoys making software problems simple, and he likes
working in teams, where he can coach others as well as learn from them. Moisés is the
author of the blog thepracticaldeveloper.com, where he shares solutions to technical
challenges, guides, and his view on different ways of working in IT companies. He
also organizes workshops for companies that need a practical approach to software
engineering. In his free time, he enjoys traveling and hiking.
xiii
About the Authors
Tarun’s expertise lies in architecting and developing large scale applications, with a
particular focus on cloud-native solutions using cutting-edge architectural patterns like
microservices and event-driven architecture. He has led the development of numerous
end-to-end cloud-based solutions, demonstrating his deep technical understanding to
deliver high-performing, reliable, large-scale applications.
An advocate of agile methodologies, Tarun excels at applying domain-driven design
and behavioral-driven development principles, ensuring seamless project management
and collaboration across cross-functional teams in different geographical locations. His
international experience, having worked in India, Canada and Germany, has enriched
his global perspective and ability to adapt to diverse environments. Tarun lives in
Hyderabad, India, and he enjoys spending time with his wife and child when he’s not
indulging in his love of technology. You can follow Tarun or contact him on his Twitter
account: @taruntelang.
xiv
About the Technical Reviewer
Manuel Jordan Elera is an autodidactic developer and
researcher who enjoys learning new technologies for his
own experiments and creating new integrations. Manuel
won the Springy Award 2013 Community Champion and
Spring Champion. In his little free time, he reads the Bible
and composes music on his guitar. Manuel is known as
dr_pompeii. He has tech-reviewed numerous books,
including Pro Spring MVC with WebFlux (Apress, 2020),
Pro Spring Boot 2 (Apress, 2019), Rapid Java Persistence
and Microservices (Apress, 2019), Java Language Features
(Apress, 2018), Spring Boot 2 Recipes (Apress, 2018), and Java APIs, Extensions and
Libraries (Apress, 2018). You can read his detailed tutorials on Spring technologies and
contact him through his blog at www.manueljordanelera.blogspot.com. You can follow
Manuel on his Twitter account, @ dr_pompeii.
xv
Acknowledgments
I would like to thank my wife, Nikita, and son, Vihan, for their patience
and love throughout the process of writing this book. I am indebted to all
my mentors and friends who always encouraged me to keep growing in
every phase of my professional career.
I’d like to thank my parents for pushing me in the right direction with tech-
nology and always supporting me every step of the way, even when I decided
to do something completely different than they expected. It’s also important
to note that without them, I probably wouldn’t have become a developer
and had such a great career. Lastly, thanks again go out to my wife (and
soulmate), Nikita. It’s an incredible feeling to be with someone who keeps
you motivated and challenges you, not only professionally but personally
as well.
xvii
Exploring the Variety of Random
Documents with Different Content
raisons d’ordre philosophique, légal, esthétique, sentimental ou
même hygiénique... Toutes sont fort respectables.
«Si l’on veut donner cette destination nationale à la cathédrale
de Reims, dit M. Aulard, il faudra, comme on dit, la désaffecter. On
ne pourra le faire que si les consciences catholiques y consentent.
Il ne faut pas que notre future victoire, par aucun de ses effets
puisse attrister aucune conscience française. Notre joie devra être
unanime.»
Et M. Aulard conclut en formulant un espoir qui est aussi le
nôtre: «Espérons que très spontanément et très librement, les
catholiques diront oui—à ce beau et national projet.»
Mais si sur ce point assez délicat, j’en conviens, les consciences
catholiques se montraient dogmatiquement irréductibles, ne
pourrait-on pas, sans porter une atteinte profonde à la grandeur du
projet initial, élever sur l’emplacement même où fut l’Archevêché,
tout à côté de la cathédrale, solidement consolidée et riche de ses
glorieuses blessures, le monument commémorant aux héros
inconnus morts pour la patrie, le Panthéon ossuaire, le tumulus
honorarius sous lequel, dans de cryptes profondes, reposeraient
pour l’éternité les ossements épars sur l’immensité du sol.
J’entends bien l’objection de M. Henri Lapauze: «Les ossuaires
seront constitués sur le champ de bataille. C’est bien le moins que
les restes de nos glorieux soldats attestent leur héroïsme, là où il se
manifesta.»
Sans doute, mais je me demande, avec une certaine anxiété, ce
que deviendront tous ces restes humains qui gisent aujourd’hui,
deçà delà, des bords de l’Yser aux forêts des Vosges, sous des
tertres hâtivement élevés, lorsque les socs impitoyables des plus
formidables charrues et les dents des herses perfectionnées auront
rétabli l’ordre dans le sol chaotique des batailles à travers les débris
de fer et les ossements confondus:
A. D.
Aux Armées.
Monsieur,
P. L., SERGENT,
Secteur 155.
LOUIS ORR.—INTÉRIEUR DE LA CATHÉDRALE DE REIMS, EN JANVIER 1918
(d’après une eau-forte).
LA FUITE
(d’après un lavis original).
LE RETOUR, «C’EST ICI CHEZ NOUS!»
(d’après une lithographie).
NOTES
N. D. L. D.
[2] La Revue, 45, rue Jacob.
[3] Les Vandales en France (page 15).
[4] Camille Mauclair.
TABLE DES MATIÈRES
TEXTES
Pages
L’ŒUVRE DE GUERRE DE STEINLEN, par Camille Mauclair 3
LA CATHÉDRALE DE REIMS.—UNE LETTRE DU FRONT, par A. D. 41
ILLUSTRATIONS
CINQUANTE-SEPT ILLUSTRATIONS DONT:
CINQUANTE-DEUX D’APRÈS DES DESSINS ORIGINAUX, LITHOGRAPHIES, EAUX-
FORTES, LAVIS ET CROQUIS DE STEINLEN.
UNE D’APRÈS UNE EAU-FORTE DE Louis ORR.
ET QUATRE D’APRÈS LES EN-TÊTES DE CHAPITRES ET LETTRES ORNÉES,
SPÉCIALEMENT EXÉCUTÉS POUR L’OUVRAGE, PAR J. MOSSO.
ÉPREUVES D’ART
COUVERTURE D’APRÈS UN LAVIS ORIGINAL: “LA FUITE”, DE STEINLEN.
“LA VIEILLE DES RUINES”, HORS TEXTE D’APRÈS UNE LITHOGRAPHIE DE
STEINLEN.
“INTÉRIEUR DE LA CATHÉDRALE DE REIMS, EN JANVIER 1918”,
HORS TEXTE D’APRÈS UNE EAU-FORTE DE Louis ORR.
Au lecteur