[Feature] Migrate to Nats.Client.Core (newer API)
Author: geekox86Created Aug 18, 2026Updated Aug 21, 2026
Labelsenhancement
Summary
Migrating will allow setting LoggerFactory to work with Serilog
Motivation / Problem
Currently, CAP is using the older Nats.Client library API. Migrating to Nats.Client.Core (newer API) will allow setting LoggerFactory to work with Serilog. The older Nats.Client.Options does not expose LoggerFactory.
Proposed Solution
No response
Alternatives Considered
No response
Expected Impact
No response
Feature Scope
None
Additional Context
No response
Source: dotnetcore/CAP