Arvo is an opinionated approach to building event-driven systems. It's designed as a pattern and methodology rather than a rigid framework.
The core principle of Arvo is to provide a solid foundation with enough flexibility for customization, allowing you to impose your own technical posture, including security measures, event brokerage, and telemetry. While Arvo offers a structured approach, it encourages developers to implement their own solutions if they believe they can improve upon or diverge from Arvo's principles.
If you're looking to focus on results without getting bogged down in the nitty-gritty of event creation, handling, system state management, and telemetry, while also avoiding vendor lock-in, Arvo provides an excellent starting point. I believe, it strikes a balance between opinionated design and customization, making it an ideal choice for developers who want a head start in building event-driven systems without sacrificing flexibility.
Key features of Arvo include:
Whether you're building a small microservice or a large-scale distributed system, my hope with Arvo is to offers you some of the tools and patterns to help you succeed in the world of event-driven architecture.
Arvo is a collection of libraries which allows you to build the event driven system in the Arvo pattern. However, if you feel you don't have to use them or you can use them as you see fit.
This package contains the event handler primitive required to enable an Arvo Event Driven System. These are light weight classes and types which take care of event listening, contract bound type inference, distributed open telemetry and much more.
You can install the core package via npm
or yarn
npm install arvo-event-handler arvo-core
yarn add arvo-event-handler arvo-core
There 2 main types of event handlers in Arvo event driven system
ArvoContract
(see arvo-core). It provides a robust and flexible way to create, manage, and execute event handlers for Arvo-based event driven systems.ArvoEventHandler
, as it's not bound to a specific contract or event type.To start using Arvo Event Handlers in your project:
import {
createArvoEvent,
createArvoContract,
createArvoContractLibrary,
createArvoEventFactory,
} from 'arvo-core';
import {
createArvoEventHandler,
createMultiArvoEventHandler,
createArvoEventRouter,
} from 'arvo-event-handler';
This package is available under the MIT License. For more details, refer to the LICENSE.md file in the project repository.
For a detailed list of changes and updates, please refer to the document file.