VapeCache.Extensions.Streams 1.2.22

dotnet add package VapeCache.Extensions.Streams --version 1.2.22
                    
NuGet\Install-Package VapeCache.Extensions.Streams -Version 1.2.22
                    
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="VapeCache.Extensions.Streams" Version="1.2.22" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VapeCache.Extensions.Streams" Version="1.2.22" />
                    
Directory.Packages.props
<PackageReference Include="VapeCache.Extensions.Streams" />
                    
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 VapeCache.Extensions.Streams --version 1.2.22
                    
#r "nuget: VapeCache.Extensions.Streams, 1.2.22"
                    
#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 VapeCache.Extensions.Streams@1.2.22
                    
#: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=VapeCache.Extensions.Streams&version=1.2.22
                    
Install as a Cake Addin
#tool nuget:?package=VapeCache.Extensions.Streams&version=1.2.22
                    
Install as a Cake Tool

VapeCache.Extensions.Streams

Redis Streams extension for VapeCache with Redis 8.6 idempotent producer support.

Install

dotnet add package VapeCache.Extensions.Streams

Configure

builder.Services.AddVapeCacheStreams(options =>
{
    options.DefaultEntryId = "*";
    options.UseAutoIdempotentId = false;
});

Publish idempotent stream entries

var streamProducer = app.Services.GetRequiredService<IRedisStreamIdempotentProducer>();

var entryId = await streamProducer.PublishAsync(
    key: "stream:orders",
    producerId: "orders-api",
    idempotentId: "tx-1001",
    fields:
    [
        ("orderId", (ReadOnlyMemory<byte>)"1001"u8.ToArray()),
        ("status", (ReadOnlyMemory<byte>)"created"u8.ToArray())
    ],
    ct: cancellationToken);

Optional per-stream idempotence retention

await streamProducer.ConfigureIdempotenceAsync(
    key: "stream:orders",
    durationSeconds: 1800,
    maxSize: 2048,
    ct: cancellationToken);

Docs

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

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
1.2.22 109 4/26/2026
1.2.21 102 4/26/2026
1.2.20 125 4/13/2026
1.2.19 101 4/12/2026
1.2.18 108 3/30/2026
1.2.17 100 3/27/2026
1.2.15 102 3/19/2026
1.2.14 106 3/18/2026
1.2.13 112 3/14/2026

See GitHub releases and docs/UPGRADE_NOTES.md for release-specific notes.