Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 2.41 KB

package-retirements.md

File metadata and controls

34 lines (22 loc) · 2.41 KB
title Package retirements and migrations
permalink /reference/package-retirements/

EventStore TCP and gRPC

Version 11.0.3 introduced DotNetDiag.HealthChecks.KurrentDB and marked both EventStore packages obsolete. Both packages leave the source tree, CI, and stable and preview releases starting with the next release. Previously published versions remain available on NuGet.

Retired package Last published version Replacement
DotNetDiag.HealthChecks.EventStore 11.0.3 DotNetDiag.HealthChecks.KurrentDB after moving the health check from TCP to gRPC
DotNetDiag.HealthChecks.EventStore.gRPC 11.0.3 DotNetDiag.HealthChecks.KurrentDB using the existing gRPC endpoint

Move from EventStore gRPC

Replace the EventStore gRPC package reference with DotNetDiag.HealthChecks.KurrentDB and change AddEventStore to AddKurrentDB. You can keep an existing esdb:// gRPC connection string. For a new connection, use the kurrentdb:// scheme and configure TLS and authentication for your server.

The default registration name becomes kurrentdb. If a health endpoint or monitoring system uses the old name, pass it explicitly. For example, this registration keeps both the existing configuration key and the old check name.

builder.Services.AddHealthChecks()
    .AddKurrentDB(builder.Configuration.GetConnectionString("EventStore")!, name: "eventstore");

Move from EventStore TCP

Use a server with a gRPC endpoint. Replace the TCP connection string and separate login and password arguments with a gRPC connection string that includes the required credentials and TLS options. Then install DotNetDiag.HealthChecks.KurrentDB and register the check with AddKurrentDB.

The replacement package targets .NET 8, .NET 10, and .NET 11. If your application still requires the legacy TCP protocol or the .NET Standard 2.0 package, pin the existing EventStore TCP version until you can migrate.

Verify the new check

The credentials need permission to read the database-wide stream ($all). After switching packages, call your health endpoint and verify that it includes the expected check and reports healthy. KurrentDB package reference