An open API service indexing awesome lists of open source software.

https://github.com/prabhakar-naik/axon-cqrs-event-driver-ddd-example

TODO on Axon-framework using CQRS DDD pattern Using axon server as well SQL RDBMS will implement cloud base AxonIQ console
https://github.com/prabhakar-naik/axon-cqrs-event-driver-ddd-example

axon axon-consol-cloud axon-framework axoniq cqrs-pattern ddd-architecture http-server iq-console java kotlin requests response spring spring-boot todolist

Last synced: 7 months ago
JSON representation

TODO on Axon-framework using CQRS DDD pattern Using axon server as well SQL RDBMS will implement cloud base AxonIQ console

Awesome Lists containing this project

README

          

# AxonIQ-cloud-console-server-spring-boot Example
TODO on Axon-framework using CQRS DDD pattern Using axon server as well SQL RDBMS will implement cloud base AxonIQ console also soon.....

download axon server from axoniq,

# start your axonserver java -jar axonserver.jar,

then search on browser localhost:8024 on default axonserver port

you can get interface like this.



err

# This is your Node Application
err

# This is your profile data
err

# This is your menu section briefly go through it.
err

To know more info about Axon-framework visit AxonIQ



To know about axon framework along with spring boot you must know these:


@ Axon Framework Basics

CQRS (Command Query Responsibility Segregation): Axon Framework heavily relies on the CQRS pattern, where command operations (writes) are separated from query operations (reads).

Event Sourcing: Axon uses Event Sourcing to persist the state of aggregates (entities). Instead of storing the current state, it stores a series of events that represent state changes over time.

Domain-Driven Design (DDD): Axon encourages modeling your application’s domain using DDD concepts like Aggregates, Entities, and Value Objects.

To get started, you need to add Axon Framework dependencies to your project.

# Spring Boot Integration
Axon Framework integrates seamlessly with Spring Boot, which means you can leverage Spring Boot's auto-configuration features to set up Axon components.

Spring Boot Starter: The axon-spring-boot-starter handles most of the configuration automatically, such as setting up Axon components, configuring the command bus, and integrating with the Spring context.

# Core Axon Components
Command Bus: Handles the routing of commands to their respective command handlers.

Event Bus: Handles the publishing of events to the appropriate event handlers.

Query Bus: Handles routing of queries to the respective query handlers.

Event Store: Stores events (when using Event Sourcing). It can be a JDBC-based store, JPA, or an external store like Axon Server.

# Axon Server (Optional but Recommended) Axon Server
Axon Server is an event store and messaging platform designed to work with Axon Framework. It simplifies setting up an event store and handles distributed messaging between Axon applications.

# Axon Server:
Provides an out-of-the-box event store.

Manages distributed command, event, and query handling.

Simplifies application scaling and inter-service communication.

Manual Axon Server Interface

err

# Database Setup
Depending on your application, you might use:

JDBC/JPA: For SQL-based event storage or token store.

MongoDB: For a NoSQL alternative.

Axon Server: For a built-in event store.

# Configuration
In a typical Axon application, you need to configure components like:

Event Storage: Where and how events are stored.

Token Store: Stores tokens used to track processing progress in event processors.

Saga Store: Manages the lifecycle of Sagas (long-running business processes).

# Documentation & Community
Axon Framework Documentation: The official Axon documentation is an excellent resource.

AxonIQ Community: AxonIQ offers a community where you can ask questions, share knowledge, and get support from other developers.

# Sample Project
Starting with a simple Axon-based project, such as a basic CQRS application (e.g., our project), will help you grasp the concepts more concretely. Axon Framework's official GitHub repository also has several example projects you can reference.

# Additional Tools
Axon DevTools: Provides a graphical interface to explore the state of your Axon application.

Monitoring & Metrics: Consider integrating with tools like Prometheus and Grafana for monitoring Axon applications in production.

# By setting up these components and understanding these concepts, you'll be well on your way to building robust, scalable applications using Axon Framework.

# Here you can explore the things on this project running
# Axon Server.

err

# Docker Running for store data in postgreSQL.

err

# Postgre SQL Connection in local by running docker.

err

# AxonIQ Cloud for Handlers in Graphical Inteface.

err

# AxonIQ Console View Home Page.

err

# AxonIQ Console Message Flow.

err

# AxonIQ Console Handlers.

err

# AxonIQ Console Aggregates.

err

# AxonIQ Console Graph Image 1.

err

# AxonIQ Console Graph Image 2.

err

# AxonIQ Console Graph Image 3.

err

# Completed Complete AxonIQ Console. For Troubleshoot handlers, issues, events, aggregates, flows, usages and so on.

# Thank You.
# Here I'm on your Research and Development.