Author: Abid Khan

Axon snapshot

Reading Time: 3 minutes Aggregate Snapshotting The ability to take snapshots of your application and data can be crucial in maintaining its performance. That’s why we’re introducing snapshot events – a special kind of domain event that can summarize an arbitrary amount of events into a single one. Snapshot events can help reduce the number of events that need to be loaded in order to rebuild an aggregate’s state, Continue Reading

young business people working with digital tablet while discussing together in conference room

Axon Terminologies

Reading Time: 3 minutes In this blog, We will discuss axon framework terminologies and servers we’ll be talking about part one the structure of an axon application but prior to diving into that, we’ll first have a couple of the axon concepts which come into play when you’re working with an axon application. You might want to learn more about like command query responsibility segregation or using commands events Continue Reading

AxonIQ Server and Cloud Feature

Reading Time: 3 minutes AxonIQ Server Axon server is a message broker for commands, events, and queries. It’s a proposed pre-build events store. It’s easy to set up, just download the jar or docker image and start without any configuration. Let’s take three nodes server cluster running and three applications, connected to Axon server nodes. The application can be associated with different server nods as we can see in Continue Reading

Data centre

Events Sourcing and Axon Server

Reading Time: 3 minutes Axon Server It’s a component that allows for different/multiple instances that are implemented in the axon framework. Axon server has the capability to communicate that your application is running in scaling mode. There is no matter application running in the micro-services environment, it’s transparently working. Run Axon Server We can use the official docker image to startup an Axon server instance: Another option we can startup a Continue Reading

How Kafka Relates to Axon Framework?

Reading Time: 3 minutes Axon and Kafka are used for different purposes, Axon is used for Event-Driven Architecture and provides the application-level support for domain modeling and Event Sourcing, as well as the routing of Commands and Queries, while Kafka serves as an Event Streaming system. The basic fundamental of Axon is to implement CQRS and Event Sourcing-based architecture.  With the help of this, we can design & develop Continue Reading

Spring Cloud Pub/Sub

Reading Time: 2 minutes Cloud Pub/Sub Google Cloud Pub/Sub allows services to communicate asynchronously, with latency on the order of 100 milliseconds. Pub/Sub is used for streaming analytics and data integration pipelines to ingest and distribute data. It is equally effective as a messaging- oriented middleware for service integration or as a queue to parallelised tasks. Pub/Sub enables to create systems of event producers and consumers, called publishers and subscribers. Publishers communicate Continue Reading

Spring Cloud GCP IAP Authentication and Authorization 

Reading Time: 2 minutes Identity-Aware Proxy (IAP) establish a central authorization layer for applications accessed by HTTPS, so we can use an application-level access control model instead of relying on network-level firewalls. IAP policies scale across organization. We can define access policies centrally and apply them to all of applications and resources. When you assign a dedicated team to create and enforce policies, we protect project from incorrect policy Continue Reading

Spring GCP BigQuery

Reading Time: 3 minutes BigQuery is Google’s fully managed, petabyte scale, low cost analytics data warehouse. It’s Serverless, highly scalable, and cost-effective multicloud data warehouse designed for business agility. BigQuery Benefits Gain insights with real-time and predictive analytics– Query streaming data in real time and get up-to-date information on all your business processes. Predict business outcomes easily with built-in machine learning–without the need to move data. Access data and Continue Reading

Spring GCP Data Firestore

Reading Time: 2 minutes Cloud GCP Firestore Firestore easily develop applications using a fully managed, scalable, and serverless document database. Feature Serverless document database (Best for mobile application) that effortlessly scales to meet any demand, with no maintenance Accelerate development of mobile, web, and IoT apps with direct connectivity to the database Built-in live synchronization and offline mode makes it easy to develop real-time applications Fully customizable security and Continue Reading

Spring Cloud Gateway Features

Reading Time: 4 minutes Spring Cloud Gateway provides a library for building an API Gateway on top of Spring WebFlux. Spring Cloud Gateway aims to provide a simple, yet effective way to route to APIs and provide cross cutting concerns to them such as: security, monitoring/metrics, and resiliency. Features Spring Cloud Gateway features: Built on Spring Framework 5, Project Reactor and Spring Boot 2.0 Able to match routes on Continue Reading

UAA Server setup locally for Spring Cloud Gateway

Reading Time: 3 minutes For authenticate the users, we need two things: user account records and an OAuth2 compatible authentication provider (server). There are many commercial OAuth2 authentication providers out there, but in this blog, I’m going to with open-source Cloud Foundry’s User Account & Authentication Server.Spring Cloud Gateway can forward OAuth2 access tokens to the services it is proxying. In addition to logging in the user and grabbing Continue Reading

Differences between Netflix zuul and Spring cloud gateway

Reading Time: 3 minutes Routing is an integral part of a microservice architecture. For example, `/` may be mapped to your web application, `/api/users` is mapped to the user service and `/api/shop` is mapped to the shop service.  Netflix Zuul Zuul is a JVM-based router and server-side load balancer from Netflix. It provides a single entry to our system, which allows a browser, mobile app, or other user interface to consume services from multiple hosts Continue Reading

SOLID Principles

Reading Time: 5 minutes SOLID is stand for Single Responsibility Principle, Open-Closed Principle, Liskov Substitution Principle, Interface Segregation Principle, and Dependency Inversion Principle. It is refers to five design principles in object-oriented programming, designed to reduce code and improve the value, class, function, and maintainability of software. The SOLID principles help the user develop minimized coupled code. If code is tightly coupled, a group of classes are dependent on Continue Reading