Anarchy.Toolkit.Infrastructure.Messaging.Aws
1.0.6
See the version list below for details.
dotnet add package Anarchy.Toolkit.Infrastructure.Messaging.Aws --version 1.0.6
NuGet\Install-Package Anarchy.Toolkit.Infrastructure.Messaging.Aws -Version 1.0.6
<PackageReference Include="Anarchy.Toolkit.Infrastructure.Messaging.Aws" Version="1.0.6" />
<PackageVersion Include="Anarchy.Toolkit.Infrastructure.Messaging.Aws" Version="1.0.6" />
<PackageReference Include="Anarchy.Toolkit.Infrastructure.Messaging.Aws" />
paket add Anarchy.Toolkit.Infrastructure.Messaging.Aws --version 1.0.6
#r "nuget: Anarchy.Toolkit.Infrastructure.Messaging.Aws, 1.0.6"
#:package Anarchy.Toolkit.Infrastructure.Messaging.Aws@1.0.6
#addin nuget:?package=Anarchy.Toolkit.Infrastructure.Messaging.Aws&version=1.0.6
#tool nuget:?package=Anarchy.Toolkit.Infrastructure.Messaging.Aws&version=1.0.6
Anarchy.Toolkit.Infrastructure.Messaging.Aws
AWS SNS and SQS publishers implementing the toolkit's message-broker abstractions.
dotnet add package Anarchy.Toolkit.Infrastructure.Messaging.Aws
- Register publishers with
AddSnsMessageBrokerorAddSqsMessageBrokerandAwsMessagingOptions, or useModuleSnsMessageBrokerandModuleSqsMessageBrokerwith configuration-based options factories. - The package also provides shared publisher and request-builder bases, inbound mapping and compression.
- For integration tests, see Testing.Aws and its LocalStack helpers.
When to use it
Use this package at the composition root when application code depends on IMessageBrokerPublisher and the deployment uses SNS topics or SQS queues. It implements publishing and inbound message mapping; the application remains responsible for creating destinations, permissions and message consumption.
How to use it
Register an Observer and the required broker adapters. The example uses explicit options; obtain real account and region values from your host configuration:
using Anarchy.Toolkit.Infrastructure.Messaging.Aws.Entity.Configuration.Amazon;
using Anarchy.Toolkit.Infrastructure.Messaging.Aws.Extension.Microsoft.DependencyInjection;
var options = new AwsMessagingOptions("eu-west-1", "123456789012");
services.AddSnsMessageBroker(options);
services.AddSqsMessageBroker(options);
Alternatively, register the modules with options factories using UseModule. Resolve the keyed topic or queue publisher and build messages with OutboundMessageBuilder from the abstractions package. Configure AWS credentials and permissions for the actual destinations, and plan for broker size limits, batch failures and duplicate delivery.
See the registration example and toolkit overview.
Releases
1.0.6
- refactor(src): clean up code style across library packages
- chore(deps): update AWS SDK, Lambda ASP.NET Core server and MySqlConnector packages
1.0.5
- chore(deps): update AWS SDK packages
1.0.3
- build: migrate local automation to build tooling
1.0.2
- docs: expand package guides and release histories
- chore(deps): update AWS, Polly, and xUnit packages
1.0.1
- Added a package-specific NuGet README.
1.0.0
- Introduced SNS and SQS publishers, request builders, optional payload compression, inbound mapping and dependency-injection modules.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Amazon.Lambda.SQSEvents (>= 3.0.1)
- Anarchy.Toolkit.Core (>= 1.0.5)
- Anarchy.Toolkit.Core.Messaging.Abstractions (>= 1.0.5)
- Anarchy.Toolkit.Core.Observability (>= 1.0.5)
- AWSSDK.Core (>= 4.1.0.1)
- AWSSDK.SimpleNotificationService (>= 4.1.0)
- AWSSDK.SQS (>= 4.1.0)
- Humanizer (>= 3.0.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.15)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.15)
- Newtonsoft.Json (>= 13.0.4)
- Serilog (>= 4.4.0)
- Serilog.Sinks.Console (>= 6.1.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Anarchy.Toolkit.Infrastructure.Messaging.Aws:
| Package | Downloads |
|---|---|
|
Anarchy.Toolkit.Testing.Aws
AWS messaging test helpers (SNS/SQS helpers, typically against LocalStack, and SqsMessageFixture with gzip/zlib bodies) for message-broker integration tests. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial release.