Tributary.Kafka.Abstractions
1.0.1
dotnet add package Tributary.Kafka.Abstractions --version 1.0.1
NuGet\Install-Package Tributary.Kafka.Abstractions -Version 1.0.1
<PackageReference Include="Tributary.Kafka.Abstractions" Version="1.0.1" />
<PackageVersion Include="Tributary.Kafka.Abstractions" Version="1.0.1" />
<PackageReference Include="Tributary.Kafka.Abstractions" />
paket add Tributary.Kafka.Abstractions --version 1.0.1
#r "nuget: Tributary.Kafka.Abstractions, 1.0.1"
#:package Tributary.Kafka.Abstractions@1.0.1
#addin nuget:?package=Tributary.Kafka.Abstractions&version=1.0.1
#tool nuget:?package=Tributary.Kafka.Abstractions&version=1.0.1
Tributary.Kafka.Abstractions
Lightweight, runtime-free abstractions for the Tributary Kafka SDK.
This package contains interfaces, options classes, attributes, and POCOs — no Akka, no Confluent.Kafka, no DI container, no hosting.
Reference this package from your contracts/shared libraries. Reference Tributary.Kafka.Producer and/or Tributary.Kafka.Consumer from your runtime services.
What's in this package
| Type | Purpose |
|---|---|
IEventProducer |
The publish API — inject this anywhere you want to send events |
EventEnvelope<T> |
Standard wrapper around every published message (event-id, event-type, occurred-at, tenant-id, data) |
PublishOptions |
Per-publish overrides — tenant id, event type, custom headers |
IEventSerializer |
Serializer contract; default System.Text.Json impl ships in the runtime packages |
KafkaProducerOptions |
Bound from configuration; bootstrap servers, SSL/SASL config, client id, idempotence toggle |
KafkaConsumerOptions |
Bound from configuration; group id, auto offset reset, commit mode |
CommitMode |
AfterHandler (at-least-once, default) or AutoPeriodic (librdkafka auto-commit) |
KafkaConsumerBase |
Marker base class for consumer classes |
ConsumeTopicAttribute<TConfig> |
Binds a consumer method to a topic resolved from a strongly-typed config property |
IProcessedEventStore |
Optional contract for consumer-side idempotency (Redis, Postgres, in-memory) |
When to reference this package
- Contracts library: yes — define your event records here and inject
IEventProducerinto them without dragging in Akka - API / Worker service: no — reference
Tributary.Kafka.Producerand/orTributary.Kafka.Consumerinstead; they transitively pull this in
License
MIT
| 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- Microsoft.Extensions.Options (>= 10.0.8)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Tributary.Kafka.Abstractions:
| Package | Downloads |
|---|---|
|
Tributary.Kafka.Consumer
Attribute-driven Kafka consumer runtime for .NET, built on Akka.NET Streams. Write a single class of [ConsumeTopic<TConfig>]-attributed methods and bootstrap with KafkaHost.CreateDefaultBuilder + AddKafkaConsumer<T>. Supports envelope or raw-DTO handler signatures, optional CancellationToken, startup validation, optional IProcessedEventStore for idempotency, and configurable commit mode (at-least-once or auto-periodic). |
|
|
Tributary.Kafka.Producer
Kafka producer runtime for .NET, built on Akka.NET Streams. One DI line (AddSharedKafkaProducer) and one call (IEventProducer.PublishAsync) to publish events to Kafka. Every message is wrapped in an EventEnvelope with auto-generated event-id, event-type, occurred-at, and optional tenant-id headers. Idempotent producer is enabled by default. Config-driven SSL/SASL — works against Aiven, AWS MSK, Confluent Cloud, or self-hosted Kafka with no code changes. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.1 | 114 | 5/27/2026 |