Microservices with Clojure Develop event-driven, scalable, and reactive microservices with real- time monitoring Anuj Kumar BIRMINGHAM - MUMBAI Microservices with Clojure Copyright © 2018 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. Commissioning Editor: Richa Tripathi Acquisition Editor: Aiswarya Narayanan Content Development Editor: Akshada Iyer Technical Editor: Abhishek Sharma Copy Editor: Safis Editing Project Coordinator: Prajakta Naik Proofreader: Safis Editing Indexer: Francy Puthiry Graphics: Jason Monteiro Production Coordinator: Deepika Naik First published: January 2018 Production reference: 1230118 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78862-224-0 www.packtpub.com To my mother, Mrs. Indu Srivastava, my father, Mr. Dilip Kumar, and to my lovely wife, Aishwarya, for their continuous support and encouragement. All the time that I have spent on this book should have been spent with them. For trips that we canceled and for weekends that I spent at my desk. To my family, teachers, and colleagues. They have extended their continuous support, provided critical feedback, and made it possible for me to focus on this book. mapt.io Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website. Why subscribe? Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals Improve your learning with Skill Plans built especially for you Get a free eBook or video every month Mapt is fully searchable Copy and paste, print, and bookmark content PacktPub.com Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.Packt Pub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at for more details. [email protected] At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks. Contributors About the author Anuj Kumar is the co-founder and chief architect of FORMCEPT, a data analytics startup based in Bangalore, India. He has more than 10 years of experience in designing large-scale distributed systems for storage, retrieval, and analytics. He has been in industry hacking, mainly in the area of data integration, data quality, and data analytics using NLP and machine learning techniques. He has published research papers at ACM conferences, got a few patents granted, and has spoken at TEDx. Prior to FORMCEPT, he has worked with the Oracle Server Technologies division in Bangalore, India. I would like to thank my technical reviewer, Michael Vitz, for his valuable feedback and the Packt editorial team for an excellent feedback loop to come up with good quality content. I would also like to thank my teachers and FORMCEPT team members, who have helped me on various topics covered in this book. And especially, I would like to thank my parents, my wife, and my entire family for their continuous encouragement.