HouseofCat.Data
4.1.1
See the version list below for details.
dotnet add package HouseofCat.Data --version 4.1.1
NuGet\Install-Package HouseofCat.Data -Version 4.1.1
<PackageReference Include="HouseofCat.Data" Version="4.1.1" />
paket add HouseofCat.Data --version 4.1.1
#r "nuget: HouseofCat.Data, 4.1.1"
// Install HouseofCat.Data as a Cake Addin #addin nuget:?package=HouseofCat.Data&version=4.1.1 // Install HouseofCat.Data as a Cake Tool #tool nuget:?package=HouseofCat.Data&version=4.1.1
RabbitMQ & Dataflows
A RabbitMQ library of .NET
tools to help rapidly develop well performant services or
to just help manage durable connectivity with the RabbitMQ.Client
!
Status
Test Server: Windows 11
RabbitMQ Server: v3.13
Erlang: v26.2.3
Why Make A RabbitMQ Powered Dataflow?
Dataflows
have configurable concurrency, serialization, monitoring, compression, and
encryption all as first class citizens. This paradigm allows developers to just focus on
the important stuff - getting work done!
Here are some features ready with RabbitMQ.Dataflows
.
Workflows
- Pipelines (v1) are light weight workflow-esque function-as-step executor.
- All steps process in the order provided allowing you to still control order of execution.
- Configurable parallelism and concurrency built-in.
- No automatic OpenTelemetry.
- No automatic exception catching/async error handling (thrown exceptions kill Pipelines).
- Dataflows (v2) are the more complex, yet complete, workflow class.
- All steps process in the order provided allowing you to still control order of execution.
- Configurable parallelism and concurrency built-in.
- Async processing, batch processing, consumer cloning and more!
- Async error handling (simplify functional error handling by allowing functions to throw).
- AutoPublish (to the next Queue) functionality built-in.
- OpenTelemetry with native distributed tracing for Publish/Consumer.
Built-Ins
- A RabbitMQ ConnectionPool and ChannelPool (connection durability).
- Supports
ILogger<T>
via LogHelpers static singleton. - Contracted
IWorkState
simplifies functional generic returns and integration. - Has
ISerializationProvider
support forSystem.Text.Json
andMessagePack
.- Easy to write your own providers.
- Has
ICompressionProvider
built-in support for Gzip, Deflate, Brotli, and LZ4. - Has
IEncryptionProvider
built-in support for AesGcm and BouncyCastle AesGcm. - RecyclableMemoryStream options for
ICompressionProvider
andIEncryptionProvider
. - Publishers AutoPublish seamless encryption/decryption steps (adds headers too).
- Consumers allow seamless compression/decompression steps (uses headers).
- Publisher/Consumers have built-in
OpenTelemetry
support.
Testing
- All built-in steps will have integration tests that should remove concerns from end-user developer.
- Future case will include much more complex abstract UnitTesting as time allows.
- The developer should only need to unit test their functional business code.
Help & Guides
- Getting started with RabbitMQ.Dataflows ConnectionPool.
- Getting started with RabbitMQ.Dataflows ChannelPool.
- Getting started with RabbitMQ.Dataflows ChannelPool and BasicPublish.
- Getting started with RabbitMQ.Dataflows ChannelPool and BasicGet.
- Getting started with RabbitMQ.Dataflows ChannelPool and BasicConsume.
- Getting started with RabbitMQ.Dataflows Serialization.
- Getting started with RabbitMQ.Dataflows Publisher.
- Getting started with RabbitMQ.Dataflows AutoPublisher.
- Getting started with RabbitMQ.Dataflows Consumer.
More to come!
You can also find various library examples inside the tests/UnitTests
or the tests/RabbitMQ.Console.Test
project.
Main RabbitMQ Library
HouseofCat.RabbitMQ
A library that focuses on RabbitMQ connection and channel management to create fault tolerant Publishers and Consumers.
Formerly called CookedRabbit.Core/Tesseract.
DataFlow Library
HouseofCat.Dataflows
A library that provides the base magic Dataflows for RabbitMQ.Dataflows.
- Custom TPL Block - ChannelBock used as a Channel-based
BufferBlock<TIn>
- Has DataFlowEngine and ChannelBlockEngine.
- Has Pipelines (Dataflow alternative).
Core Productivity Libraries
These libraries are here to help you build powerful Dataflows for your messages.
HouseofCat.Serialization
A library that has a collection of .NET ISerializationProvider
or the interface to make your own.
- Supports MessagePack and System.Text.Json and Newtonsoft.Json.
HouseofCat.Compression
A library that has a collection of .NET ICompressionProvider
or the interface to make your own.
- Supports LZ4, Gzip, Brotli, and Deflate.
- Supports RecyclableMemoryStream variants.
HouseofCat.Hashing
A library that focuses on implementing hashing.
- Supports Argon2.
HouseofCat.Encryption
A library that provides encryption contracts and the base AesGCM
/AesCBC
.NET IEncryptionProvider
as
well as the interface to make your own.
- Supports AesCbc via CryptoStream (good for encrypted file/memorystreams).
- Supports .NET AesGcm 128, 192, 256 (non-streams).
- Supports BouncyCastle AesGcm 128/192/256.
- Supports RecyclableMemoryStream variants.
Non-Critical Library Integrations
HouseofCat.Data
A library that provides the provides helper classes for data manipulation and transformation.
Also provides Database abstractions, a simple Dapper integration, and SqlKata integration SQL query generation.
Database Connection Factory Support
- System.Data.SqlClient
- Microsoft.Data.SqlClient
- MySql.Data.MySqlClient
- Npgsq
- MySql.Data
- Oracle
- SQLite
HouseofCat.Utilities
A library that focuses on general purpose utilities and functions that simplify the coding experience.
HouseofCat.io
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Dapper (>= 2.1.35)
- dotMorten.Microsoft.SqlServer.Types (>= 2.5.0)
- HouseofCat.Compression (>= 4.1.1)
- HouseofCat.Encryption (>= 4.1.1)
- HouseofCat.Hashing (>= 4.1.1)
- HouseofCat.Serialization (>= 4.1.1)
- HouseofCat.Utilities (>= 4.1.1)
- Microsoft.Spatial (>= 7.21.0)
- MySql.Data (>= 8.3.0)
- Npgsql (>= 8.0.2)
- Oracle.ManagedDataAccess.Core (>= 3.21.140)
- SqlKata (>= 2.4.0)
- System.Data.Odbc (>= 8.0.0)
- System.Data.OleDb (>= 8.0.0)
- System.Data.SQLite (>= 1.0.118)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.1.5 | 85 | 5/2/2024 |
4.1.4 | 65 | 5/2/2024 |
4.1.3 | 68 | 5/2/2024 |
4.1.2 | 88 | 5/1/2024 |
4.1.1 | 112 | 4/29/2024 |
4.1.0 | 108 | 4/29/2024 |
4.0.0 | 126 | 4/19/2024 |
3.2.2 | 106 | 3/28/2024 |
3.2.1 | 127 | 3/28/2024 |
3.2.0 | 117 | 3/27/2024 |
3.1.3 | 100 | 3/27/2024 |
3.1.2 | 109 | 3/26/2024 |
3.1.1 | 104 | 3/26/2024 |
3.1.0 | 108 | 3/26/2024 |
3.0.0 | 114 | 3/20/2024 |
1.0.0 | 125 | 3/20/2024 |
Major overhaul!