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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Tributary.Kafka.Abstractions" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Tributary.Kafka.Abstractions" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Tributary.Kafka.Abstractions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Tributary.Kafka.Abstractions --version 1.0.1
                    
#r "nuget: Tributary.Kafka.Abstractions, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Tributary.Kafka.Abstractions@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Tributary.Kafka.Abstractions&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Tributary.Kafka.Abstractions&version=1.0.1
                    
Install as a Cake Tool

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 IEventProducer into them without dragging in Akka
  • API / Worker service: no — reference Tributary.Kafka.Producer and/or Tributary.Kafka.Consumer instead; they transitively pull this in

License

MIT

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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