Connecting Axon application to DocumentDb 

Reading Time: 5 minutes Step 1 : Create an Amazon EC2 Instance This EC2 instance is for ssh tunneling to aws documentDB cluster and application running locally. By  using cmd: chmod 400 keypair-name   :-  Gives the user read permission, and removes all other permission. Step 2 : Create an Amazon DocumentDB Cluster Step 3 : Create a Java application with the Axon framework for Event-Sourcing.(Aws DocumentDB as event Continue Reading

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

Implementation of SAGA with Axon FrameWork with SpringBoot Part – 2

Reading Time: 5 minutes In Part 1 (this post), we will continue with our implementation and connect our services to the Axon Server. Common Service Implementation: Structure of Common Service: Payment Service Implementation: Payment Service Structure : Payment Aggregate: This service will receive the event and process it accordingly. Shipment Service Implementation: Shipment Service Structure : ShipmentAggregate: Will handle the event and process the incoming event.

Implementation of SAGA with AxonFrameWork with SpringBoot Part.1

Reading Time: 6 minutes Introduction In Part 1 (this post), we will understand what Saga Pattern really is. We will start building the sample application using Saga Pattern. Continuing in Part 2, we will continue with our implementation. Saga Pattern proposes implementing distributed transactions in the form of Sagas. Whenever a local transaction occurs, it publishes a message or an event. Such an event is responsible for triggering the next Continue Reading

Young Asian software developer working over new program

What Is Axon Framework, And How Does It Work?

Reading Time: 2 minutes Introduction to Axon Framework Axon Framework is an open-source application development platform for Java that enables developers to easily create event-driven microservices and distributed systems. It provides a complete set of tools for building modern applications, including a full event bus, command & query bus, Sagas, and an easy-to-use object database. Axon Framework’s event-driven architecture makes it easy to build scalable, high-performance applications that can 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

Digital business and technology

AxonIQ Initializr

Reading Time: 2 minutes In this blog, we will cover AxonIQ Initializr. What is AxonIQ Initializr The AxonIQ Initializr is a web application that creates an Axon project structure for you. It doesn’t generate any application code, but it will give you a solid project structure, offering either a Maven or a Gradle build specification to suit your needs. Why Initialzr Sometimes the most challenging part of any project is getting 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

person holding pen pointing at graph

Axon Framework: Event Sourcing with MongoDB

Reading Time: 4 minutes If you want to build Microservices, You may prefer Axon, a Java-based framework. It provides utility to implement CQRS (Command Query Responsibility Segregation), Event Sourcing, and DDD (Domain Driven Design) architectural patterns while developing a software application. Axon facilitates the implementation of Command Handling, Event Routing, Event Sourcing, Snapshotting, and many more building blocks. It has very friendly APIs to use these implementations and build Continue Reading

Creative team planning application and developing template layout, framework for mobilephone.

A Brief Introduction to Axon Framework

Reading Time: 5 minutes Introduction:The framework was first released in 2010 as a pure open source CQRS/ES framework. The framework has significantly evolved over the past years and in addition to the core, the framework offers a server option that includes an Event Store and an Event Router. Axon’s core framework and the server abstract the complex infrastructural concerns required in implementing CQRS/ES patterns and help enterprise developers focus Continue Reading

Axon vs Kafka

Reading Time: 4 minutes Introduction One of the most common discussion points that come up regularly in interactions with Customers/Prospects/Forums is how does Axon compare to  Apache Kafka? Can one do the job of the other? Are they complementary to each other? Can they work together? Does Axon provide any capabilities to work with Kafka? Apache Kafka is a very popular system for publishing and consuming events. Its architecture Continue Reading