Pulsar.Client 3.19.3

pulsar-client-dotnet

Pulsar.Client

.NET Core Windows .NET Core Ubuntu

Contributions and stars ★ are most welcome!

Pulsar.Client nuget | Pulsar.Client.Otel nuget

Supported pulsar cluster versions: 2.4+

Find examples of usage in /examples folder. We are trying to keep api similar to the Java client, so please take a look at it's documentation to understand possible options available. You can also join telegram chat https://t.me/pro_pulsar for further discussions.

Features list (based on Client Feature Matrix):

  • Basic Producer/Consumer API
  • Partitioned topics
  • Batching
  • Chunking
  • Compression
  • TLS
  • Authentication (token, tls, oauth2)
  • Reader API
  • Proxy Support
  • Effectively-Once
  • Schema (All types, Multi-version)
  • Consumer seek
  • Multi-topics consumer
  • Topics regex consumer
  • Compacted topics
  • User defined properties
  • Reader hasMessageAvailable
  • Hostname verification
  • Multi Hosts Service Url
  • Key_shared subscription
  • Key based batcher
  • Negative Acknowledge
  • Delayed/scheduled messages
  • Dead Letter Policy
  • Interceptors
  • Transactions
  • Statistics
  • End-to-end Encryption
  • SubscriptionInitialPosition
  • Cumulative Ack
  • Batch-Index Ack
  • SNI Routing
  • Table view
  • Auto cluster failover

Quick contributing guide

Common steps before building

  • Fork and clone locally
  • Install dotnet tools: dotnet tool restore
  • Restore packages: dotnet restore

MacOS steps before building:

  • Install Snappy: brew install snappy
  • Install Libzstd: brew install zstd

Ubuntu steps before building:

  • Install Snappy: sudo apt-get install -y libsnappy-dev
  • Install Libzstd: sudo apt-get install -y libzstd-dev

Building and Testing

  • Build the solution: dotnet build (dotnet core sdk required) This will install required tools and then you can use any IDE to build solution
  • Make your modifications
  • Run unit tests: cd tests/UnitTests && dotnet test
  • (Optional) If changes are made in Client logic, run Integration tests. Before running do the following
    1. Install pulsar cluster:
      • MacOS guide:
      • brew tap streamlio/homebrew-formulae
      • brew install streamlio/homebrew-formulae/pulsar
      • brew install streamlio/homebrew-formulae/bookkeeper
      • brew services start pulsar
      • brew services start bookkeeper
    2. Run commands in /tests/IntegrationTests/commands.txt
    3. Change pulsarAddress in Common.fs to point your pulsar cluster
    4. Ensure advertisedAddress in broker.conf to point your pulsar cluster
    5. Ensure public/default namespace with default settings
    6. Ensure public/retention namespace with time or storage size retention configured
  • Send a Pull Request

Maintaners and support

  • You can suppport me (@Lanayx) using Github sponsors so I continue maintaining this project well.
  • If you want me to implement new (missing) features, this can be arranged on a paid basis using Github sponsors as well, please PM in Telegram

No packages depend on Pulsar.Client.

Close the consumer at the broker when its mailbox fails

Version Downloads Last updated
3.19.9 0 10/13/2026
3.19.8 0 10/09/2026
3.19.7 0 10/05/2026
3.19.6 1 10/02/2026
3.19.5 1 10/02/2026
3.19.4 1 10/02/2026
3.19.3 1 10/02/2026
3.19.2 1 10/02/2026
3.19.1 1 10/02/2026
3.19.0 1 10/02/2026
3.18.0 3 07/30/2026
3.17.0 4 07/12/2026
3.16.0 4 06/13/2026
3.15.2 6 05/09/2026
3.15.1 7 04/19/2026
3.15.0 7 04/17/2026
3.14.1 7 04/17/2026
3.14.0 7 04/17/2026
3.13.5 7 04/17/2026
3.13.4 7 04/17/2026
3.13.3 7 04/17/2026
3.13.2 7 04/17/2026
3.13.1 7 04/17/2026
3.13.0 7 04/17/2026
3.12.1 7 04/17/2026
3.12.0 7 04/17/2026
3.11.0 7 04/17/2026
3.10.0 7 04/17/2026
3.9.6 7 04/18/2026
3.9.5 25 04/16/2026
3.9.4 7 04/17/2026
3.9.3 7 04/17/2026
3.9.2 7 04/17/2026
3.9.1 7 04/17/2026
3.9.0 7 04/17/2026
3.8.1 7 04/18/2026
3.8.0 7 04/17/2026
3.7.0 7 04/17/2026
3.6.2 7 04/17/2026
3.6.1 7 04/17/2026
3.6.0 7 04/17/2026
3.5.4 7 04/17/2026
3.5.3 7 04/17/2026
3.5.2 7 04/17/2026
3.5.1 7 04/17/2026
3.5.0 7 04/17/2026
3.4.0 7 04/17/2026
3.3.1 7 04/17/2026
3.3.0 7 04/17/2026
3.2.0 7 04/17/2026
3.1.0 7 04/17/2026
3.0.0 7 04/18/2026
3.0.0-beta.2 7 04/17/2026
3.0.0-beta.1 7 04/17/2026
2.22.0 6 04/17/2026
2.21.1 7 04/17/2026
2.21.0 7 04/17/2026
2.20.0 7 04/17/2026
2.19.0 7 04/17/2026
2.18.3 7 04/17/2026
2.18.2 7 04/17/2026
2.18.1 7 04/17/2026
2.18.0 7 04/17/2026
2.17.0 7 04/17/2026
2.16.0 7 04/17/2026
2.15.2 7 04/17/2026
2.15.1 7 04/17/2026
2.15.0 7 04/17/2026
2.14.0 7 04/17/2026
2.13.2 7 04/17/2026
2.13.1 7 04/17/2026
2.13.0 7 04/17/2026
2.12.7 7 04/17/2026
2.12.6 5 04/17/2026
2.12.4 7 04/17/2026
2.12.3 7 04/17/2026
2.12.2 7 04/17/2026
2.12.1 7 04/18/2026
2.12.0 7 04/17/2026
2.11.0 7 04/17/2026
2.10.4 7 04/17/2026
2.10.3 7 04/17/2026
2.10.2 7 04/17/2026
2.10.1 7 04/17/2026
2.10.0 7 04/17/2026
2.9.4 7 04/17/2026
2.9.3 7 04/17/2026
2.9.2 7 04/18/2026
2.9.1 7 04/17/2026
2.9.0 7 04/17/2026
2.8.1 7 04/17/2026
2.8.0 7 04/17/2026
2.7.2 7 04/18/2026
2.7.1 7 04/17/2026
2.7.0 7 04/17/2026
2.6.3 7 04/17/2026
2.6.2 7 04/18/2026
2.6.1 7 04/17/2026
2.6.0 5 04/17/2026
2.5.3 7 04/17/2026
2.5.2 7 04/18/2026
2.5.1 7 04/17/2026
2.5.0 7 04/17/2026
2.4.1 4 04/17/2026
2.4.0 7 04/17/2026
2.3.3 7 04/17/2026
2.3.1 7 04/17/2026
2.3.0 7 04/17/2026
2.2.0 7 04/17/2026
2.1.1 7 04/17/2026
2.1.0 7 04/17/2026
2.0.4 7 04/17/2026
2.0.3 7 04/17/2026
2.0.2 7 04/17/2026
2.0.1 7 04/17/2026
2.0.0 4 04/17/2026
1.8.5 7 04/17/2026
1.8.4 7 04/17/2026
1.8.3 7 04/17/2026
1.8.2 7 04/17/2026
1.8.1 7 04/17/2026
1.8.0 7 04/17/2026
1.7.8 7 04/17/2026
1.7.7 7 04/18/2026
1.7.6 7 04/17/2026
1.7.5 7 04/17/2026
1.7.4 7 04/17/2026
1.7.3 6 04/17/2026
1.7.2 7 04/17/2026
1.7.1 7 04/17/2026
1.7.0 7 04/18/2026
1.6.3 7 04/17/2026
1.6.2 7 04/17/2026
1.6.1 7 04/17/2026
1.6.0 7 04/17/2026
1.5.0 7 04/17/2026
1.4.3 7 04/18/2026
1.4.2 7 04/17/2026
1.4.1 7 04/17/2026
1.4.0 7 04/17/2026
1.3.0 7 04/17/2026
1.2.0 7 04/17/2026
1.1.1 7 04/17/2026
1.1.0 7 04/17/2026
1.0.1 7 04/17/2026
1.0.0 7 04/17/2026
0.18.4 7 04/17/2026
0.18.3 7 04/17/2026
0.18.2 7 04/17/2026
0.18.1 7 04/17/2026
0.18.0 7 04/17/2026
0.17.0 7 04/17/2026
0.16.0 7 04/17/2026
0.15.0 7 04/17/2026
0.14.1 7 04/17/2026
0.14.0 7 04/17/2026
0.13.1 7 04/17/2026
0.13.0 7 04/17/2026
0.12.0 7 04/17/2026
0.11.2 7 04/17/2026
0.11.1 7 04/17/2026
0.11.0 7 04/17/2026
0.10.0 7 04/17/2026
0.9.1 7 04/17/2026
0.9.0 7 04/17/2026
0.8.2 7 04/17/2026
0.8.1 7 04/17/2026
0.8.0 7 04/17/2026
0.7.0 6 04/18/2026
0.6.0 7 04/17/2026
0.5.0 7 04/17/2026
0.4.0 7 04/17/2026
0.3.0 7 04/17/2026
0.2.0 7 04/17/2026
0.1.5 7 04/17/2026
0.1.4 7 04/17/2026
0.1.3 7 04/18/2026
0.1.2 3 04/17/2026
0.1.1 7 04/17/2026
0.1.0 7 04/17/2026