{"repo":"hifly81/bank-account-axon","free":true,"listed":false,"github":"https://github.com/hifly81/bank-account-axon","clone":"git clone https://github.com/hifly81/bank-account-axon.git","description":"Example of an application that manages operations on a bank account using Axon framework - CQRS - Event Sourcing - Saga","language":"Java","stars":15,"topics":["axon-framework","event-sourcing","cqrs","axon","bank-account","sagas","saga-pattern","event-driven","axonframework","kafka"],"license":null,"category":"data-pipelines","readme_excerpt":"Bank Account - Axon Example of an application that manages a bank account. This an example of an event-driven application, implementing patterns as event sourcing, cqrs, saga. Events sent to the event bus and to the event bus are persisted to an Apache Kafka topic called \"axon-test\".. Simple bank accounts commands/events are sent using Axon Framework; the events provided are: - create account - close account - deposit - withdrawal Events are aggregated using the AccountAggregate class. When a bank account is going to be closed, this is managed using a saga; an implementation of a saga pattern is realized using the CloseAccountSaga class. The close account event is sent by a simulated external service. Prerequisites Make sure you have an Apache Kafka broker running on localhost:9092 and a topic called \"axon-test\" Compile and execute test Run a sample deposit/withdrawal simulation Run a close account simulation Open a new terminal session (don't stop the simulation main program) and run: This will log in simulation main program:","default_branch":null,"files":null,"tree":[],"storefront":"/r/hifly81","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hifly81/bank-account-axon/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}