Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Cap | 6,170 | 10 | 248 | 2 days ago | 200 | July 30, 2023 | 6 | mit | C# | |
Distributed transaction solution in micro-service base on eventually consistency, also an eventbus with Outbox pattern | ||||||||||
Rebus | 2,106 | 92 | 166 | a month ago | 515 | August 23, 2023 | 21 | other | C# | |
:bus: Simple and lean service bus implementation for .NET | ||||||||||
Liquid Application Framework | 493 | 25 days ago | 1 | September 09, 2022 | 18 | mit | C# | |||
Liquid Application Framework documentation, useful links and sample project | ||||||||||
Cqrs | 337 | 4 | 36 | 7 months ago | 292 | October 21, 2022 | 108 | lgpl-2.1 | C# | |
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments. | ||||||||||
Obvs | 333 | 11 | 25 | 2 years ago | 41 | November 17, 2021 | 4 | mit | C# | |
An observable microservice bus library for .NET, that wraps the underlying message transports in simple Rx based interfaces. | ||||||||||
Silverback | 221 | 1 | 10 | 19 days ago | 135 | February 21, 2023 | 20 | mit | C# | |
Silverback is a simple but feature-rich message bus for .NET core (it currently supports Kafka, RabbitMQ and MQTT). | ||||||||||
Event Sourcing Jambo | 182 | 5 years ago | apache-2.0 | C# | ||||||
An Hexagonal Architecture with DDD + Aggregates + Event Sourcing using .NET Core, Kafka e MongoDB (Blog Engine) | ||||||||||
Eventual | 145 | a day ago | 93 | mit | TypeScript | |||||
Build scalable and durable micro-services with APIs, Messaging and Workflows | ||||||||||
Temporal Go Helpers | 29 | 3 months ago | 4 | November 02, 2021 | 1 | mit | Go | |||
:arrows_clockwise: Common convenience methods, and developer ergonomics for Temporal's Go SDK. | ||||||||||
Servicebus Microservice | 18 | 3 years ago | 1 | JavaScript | ||||||
A boilerplate for building microservices with servicebus |
This repository contains Rebus "core". You may also be interested in one of the many integration libraries.
For information about the commercial add-on (support, tooling, etc.) to Rebus, please visit Rebus FM's page about Rebus Pro.
Rebus is a lean service bus implementation for .NET. It is what ThoughtWorks in 2010 called a "message bus without smarts" - a library that works well as the "dumb pipes" when you need asynchronous communication in your microservices that follow the "smart endpoints, dumb pipes" principle.
Rebus aims to have
and in doing this, Rebus should try to align itself with common, proven asynchronous messaging patterns.
Oh, and Rebus is FREE as in beer 🍺 and speech 💬, and it will stay that way forever.
If you want to read more, check out the official Rebus documentation wiki or check out my blog.
You can also follow me on Twitter: @mookid8000
Rebus is a simple .NET library, and everything revolves around the RebusBus
class. One way to get Rebus
up and running, is to manually go
var bus = new RebusBus(...);
bus.Start(1); //< 1 worker thread
// use the bus for the duration of the application lifetime
// remember to dispose the bus when your application exits
bus.Dispose();
where ...
is a bunch of dependencies that vary depending on how you want to send/receive messages etc.
Another way is to use the configuration API, in which case you would go
var someContainerAdapter = new BuiltinHandlerActivator();
for the built-in container adapter, or
var someContainerAdapter = new AdapterForMyFavoriteIocContainer(myFavoriteIocContainer);
to integrate with your favorite IoC container, and then
Configure.With(someContainerAdapter)
.Logging(l => l.Serilog())
.Transport(t => t.UseMsmq("myInputQueue"))
.Routing(r => r.TypeBased().MapAssemblyOf<SomeMessageType>("anotherInputQueue"))
.Start();
// have IBus injected in application services for the duration of the application lifetime
// let the container dispose the bus when your application exits
myFavoriteIocContainer.Dispose();
which will stuff the resulting IBus
in the container as a singleton and use the container to look up
message handlers. Check out the Configuration section on the official Rebus documentation wiki for
more information on how to do this.
If you want to be more specific about what types you map in an assembly, such as if the assembly is shared with other code you can map all the types under a specific namespace like this:
Configure.With(someContainerAdapter)
.(...)
.Routing(r => r.TypeBased().MapAssemblyNamespaceOf<SomeMessageType>("namespaceInputQueue"))
.(...);
// have IBus injected in application services for the duration of the application lifetime
// let the container dispose the bus when your application exits
myFavoriteIocContainer.Dispose();
Rebus is licensed under The MIT License (MIT). Basically, this license grants you the right to use Rebus in any way you see fit. See LICENSE.md for more info.
The purpose of the license is to make it easy for everyone to use Rebus and its accompanying integration libraries. If that is not the case, please get in touch with [email protected] and then we will work something out.