Playing with CQRS and Event Sourcing in Spring Boot and Axon

The Microservices Architecture World, we can meet many concepts and patterns, like the Centralized Configuration, Circuit Breaker, Service Registry and Discovery, etc.. Two of these patterns are the CQRS and the Event Sourcing patterns, coming from the Domain Driven Design planet 🌏 In the most of the use-cases, these two patterns are sold together 😁 in this new tutorial, we will discover what does each one ? why they are usually used together ? and for sure we will implement these two patterns in Java ☕️ obviously 🤓 ...

December 20, 2019 · 22 min

Playing with Spring Cloud in Azure Functions

In this tutorial, we will be experimenting a new use case of the great Azure Functions service 😁 one of my favorite products in Azure. In this tutorial, we will bring the powerful features of the Spring Framework to our Azure Functions Java projects. After this tutorial, creating a new Azure Functions Java based on business logic that you already have in your Spring Boot Application will be a very easy game. ...

November 19, 2019 · 10 min

Playing with Java in Azure Functions - New Release

In one of the previous posts, I introduced the Azure Functions Java. I felt that I need to write a dedicated tutorial to this great Azure Serverless service 😁 In this post, I will be covering many concepts in deep: Triggers and bindings Events and messaging Deployments & Consumptions Monitoring Generating the hello-world project We will scaffold a Java-based Azure Function project using Maven Archetypes, using this command: 1 2 3 4 5 6 7 8 9 $ mvn archetype:generate -DarchetypeGroupId=com.microsoft.azure \ -DarchetypeArtifactId=azure-functions-archetype \ -DappName=hello-world-app-example \ -DappRegion=FranceCentral \ -DresourceGroup=helloworld-rg \ -DgroupId=com.helloworld.group \ -DartifactId=helloworld-functions \ -Dpackage=com.helloworld \ -DinteractiveMode=false The generated project will look like: ...

October 19, 2019 · 25 min

Playing with Azure Monitor services and Spring Boot

In enterprise application, performance is major requirement of success. Especially for applications where slowness will have a direct detrimental impact on business productivity, profits and even the brand itself, like trading platforms and e-commerces. If a trading platform loads slowly or experiences errors, it will translate into loss of business, and losses can be extremely high, and the customer might end up switching to another competitor. In this context comes the Application Performance Management (APM). APM is the monitoring and management of performance and availability of applications. APM strives to detect and diagnose complex application performance problems to maintain an expected level of service. ...

September 23, 2019 · 10 min

Playing with OpenShift 4 locally

January 2018, Red Hat acquired CoreOS for 250 million dollars 🤩. CoreOS was one of the leading companies of Linux & Containers market with their wide offer of products: CoreOS Tectonic: container application platform based on Kubernetes. CoreOS Container Linux: lightweight Linux distribution designed to run containerized applications. CoreOS Operators Framework: an open source toolkit designed to manage Kubernetes native applications. CoreOS Quay: a container registry for building, storing, and distributing your private containers. CoreOS rkt: an application container engine developed for modern production cloud-native environments. even more and more.. Red HatOpenShift 3.x was facing many big problems especially in installations and upgrades. It was a real nightmare to install an OCP Cluster. I never heard an OCP Admin talking about upgrading OCP without discussing the problems that they faced. Personally, I worked for two customers from 2017 to 2019 that adopted OCP, and when it comes to cluster upgrades they were dedicating time and they were bringing people from Red Hat to help them do that 😂 Although, the upgrades were guaranteed by Red Hat in all technical and commercial announcements. ...

September 20, 2019 · 8 min

Playing with Istio Service Mesh on Kubernetes

What is Istio? Google presents Istio as an open platform to connect, monitor, and secure microservices. Istio is a service mesh implementation that provides many cloud-native capabilities like: Traffic management: Service Discovery, Load balancing, Failure recovery, A/B testing, Canary releases, etc… Observability: Request Tracing, Metrics, Monitoring, Auditing, Logging, etc… Security: ACLs, Access control, Rate limiting, End-to-end authentication, etc… Istio delivers all these great features without any changes to the code of the microservices running with it on the same Kubernetes cluster. ...

March 10, 2019 · 22 min

New book update #1

I just updated my book « Playing with Java Microservices with Kubernetes and OpenShift » 😃 The release changelog: Fixed some typos 🙈 I just finished writing the Chapter 14: Getting started with OpenShift 👌 I started writing the Chapter 15: The OpenShift style 🎶 I started working on Istio Tutorial that will be the first bonus chapter in the book ⚡️⚡️ I will be covering more and more subjects soon 😁 ...

January 20, 2019 · 1 min

My new book is here !!

Playing with Java Microservices on Kubernetes and OpenShift is here ! Today, November 24th 2018, I released my new book Playing with Java Microservices on Kubernetes and OpenShift!! Finally, after ten months of work, tests, POCs and many edition iterations, the newborn is here ! The book is edited and sold on the LeanPub platform 🤩 The book is sold mainly in two different offers: The Book only The Book + one hour of training about Java Microservices and Kubernetes/OpenShift I have some ideas about making some other packages, I will post about them soon ! Stay tuned !! ...

November 24, 2018 · 1 min

Workshop Report: ENSI – November 2018

The workshop “Playing with Java Microservices on Kubernetes” was held from 19/11 to 24/11, at the National School of Computer Sciences, in Mannouba, Tunisia. The workshop was done on 18 Hours of training about Java, Spring Boot, DDD, Docker, Kubernetes, Cloud Patterns, CI/CD… Some Github repositories used in the sessions: Monolith Example Microservices Examples We got even a special guest, my techno-mate Houssem Dellai, the great Microsoft MVP, that presented, thru a 3 Hours session, Docker & Kubernetes and the CI/CD lifecycles with a great demo of Azure DevOps for the students of ENSI Tunisia. ...

November 24, 2018 · 1 min

Meetup Report: Architecture in the Cloud Era

We organized, at Onepoint, our first Architecture Meetup, the 19th of July, in our beautiful headquarters in Trocadéro, Paris. Our first edition’s guest: Aymen El Amri : the founder of eralabs a consulting and training company and, a community hub. He help companies build and learn how to build modern and cloud native applications. He’s written tech books like Painless Docker and founded online communities like DevOpsLinks and Kaptain. Aymen’s talk was: Architecture At The Cloud Native Era. ...

July 20, 2018 · 2 min