Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.97 KB

File metadata and controls

55 lines (35 loc) · 1.97 KB

LocalPost

NuGet package Code coverage

Minimal APIs for your Kafka/SQS/... consumers and

Simple .NET in-memory background queue (System.Threading.Channels based).

Installation

For the core library:

dotnet add package LocalPost

AWS SQS, Kafka and other integrations are provided as separate packages, like:

dotnet add package LocalPost.SqsConsumer
dotnet add package LocalPost.KafkaConsumer

Usage

.NET 8 asynchronous background services handling

Before version 8, the .NET runtime handled the start and stop of services only synchronously. However, it is now possible to enable concurrent handling of services by setting the ConcurrentServiceExecution property of HostOptions to true.

See for details:

Motivation

TBD

Similar projects

More complex jobs management / scheduling:

  • Hangfire — background job scheduler. Supports advanced scheduling, persistence and jobs distribution across multiple workers.

Service bus (for bigger solutions):

Inspiration