You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade to Akka.Hosting 1.5.55.1 with simplified connectivity check API
This commit updates Akka.Persistence.Azure to use the improved builder API
from Akka.Hosting 1.5.55.1 (released via akkadotnet/Akka.Hosting#691).
**Changes:**
- Upgraded Akka.Hosting from 1.5.55 to 1.5.55.1
- Added simplified WithConnectivityCheck() overloads that access options from builder.Options
- Kept original overloads with explicit options parameter for backward compatibility
- Updated tests to use the new simplified API
- Updated release notes to document the improved API
**API Improvement:**
The new API eliminates redundant parameter passing:
Before (1.5.55):
```csharp
journal.WithConnectivityCheck(journalOptions);
```
After (1.5.55.1):
```csharp
journal.WithConnectivityCheck(); // Options accessed from builder automatically
```
All 9 connectivity check tests pass with the new API.
* [Add connectivity health checks for Azure persistence backends](https://github.com/petabridge/Akka.Persistence.Azure/pull/TBD)
7
7
8
8
This release adds proactive connectivity health checks for Azure persistence backends, implementing the feature requested in [Akka.Hosting#678](https://github.com/akkadotnet/Akka.Hosting/issues/678).
@@ -11,6 +11,10 @@ This release adds proactive connectivity health checks for Azure persistence bac
11
11
12
12
Connectivity checks are now available for both Azure Table Storage journal and Azure Blob Storage snapshot store. These are opt-in health checks that proactively verify backend connectivity regardless of recent operation activity, helping detect database outages during idle periods.
13
13
14
+
**Improved API:**
15
+
16
+
With Akka.Hosting 1.5.55.1, the connectivity check API has been simplified. Options are now automatically accessed from the builder, eliminating redundant parameter passing.
17
+
14
18
**Usage Example:**
15
19
16
20
```csharp
@@ -31,14 +35,18 @@ var snapshotOptions = new AzureBlobSnapshotOptions(isDefault: true)
The connectivity checks support all Azure SDK connection methods (connection string, ServiceUri + TokenCredential, and factory methods) and include proper tagging for filtering in health check endpoints.</PackageReleaseNotes>
46
+
The connectivity checks support all Azure SDK connection methods (connection string, ServiceUri + TokenCredential, and factory methods) and include proper tagging for filtering in health check endpoints.
47
+
48
+
**Backward Compatibility:**
49
+
50
+
The old API signature (passing options explicitly) is still supported for backward compatibility with older versions of Akka.Hosting.</PackageReleaseNotes>
0 commit comments