Pulsar.Client
2.21.1
See the version list below for details.
dotnet add package Pulsar.Client --version 2.21.1
NuGet\Install-Package Pulsar.Client -Version 2.21.1
<PackageReference Include="Pulsar.Client" Version="2.21.1" />
<PackageVersion Include="Pulsar.Client" Version="2.21.1" />
<PackageReference Include="Pulsar.Client" />
paket add Pulsar.Client --version 2.21.1
#r "nuget: Pulsar.Client, 2.21.1"
#:package Pulsar.Client@2.21.1
#addin nuget:?package=Pulsar.Client&version=2.21.1
#tool nuget:?package=Pulsar.Client&version=2.21.1
pulsar-client-dotnet
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
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
- Install pulsar cluster:
- MacOS guide:
brew tap streamlio/homebrew-formulaebrew install streamlio/homebrew-formulae/pulsarbrew install streamlio/homebrew-formulae/bookkeeperbrew services start pulsarbrew services start bookkeeper
- Run commands in
/tests/IntegrationTests/commands.txt - Change
pulsarAddressin Common.fs to point your pulsar cluster - Ensure
public/defaultnamespace with default settings - Ensure
public/retentionnamespace with time or storage size retention configured
- Install pulsar cluster:
- Send a Pull Request
Maintaners
- @Lanayx
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Apache.Avro (>= 1.12.0)
- AvroSchemaGenerator (>= 2.10.0)
- FSharp.Core (>= 9.0.201)
- FSharp.UMX (>= 1.1.0)
- K4os.Compression.LZ4 (>= 1.3.8)
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.3)
- Microsoft.Extensions.Caching.Memory (>= 9.0.3)
- Microsoft.Extensions.Http (>= 9.0.3)
- Microsoft.Extensions.Logging (>= 9.0.3)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.3)
- Microsoft.IO.RecyclableMemoryStream (>= 3.0.1)
- NSec.Cryptography (= 20.2.0)
- PemUtils (>= 3.0.0.82)
- Pipelines.Sockets.Unofficial (>= 2.2.8)
- protobuf-net (>= 3.2.46)
- protobuf-net.Reflection (>= 3.2.46)
- Snappy.Standard (>= 0.2.0)
- System.IO.Pipelines (>= 9.0.3)
- System.Text.Json (>= 9.0.3)
- System.Threading.Channels (>= 9.0.3)
- zlib.net-mutliplatform (>= 1.0.8)
- ZstdNet (>= 1.4.5)
NuGet packages (14)
Showing the top 5 NuGet packages that depend on Pulsar.Client:
| Package | Downloads |
|---|---|
|
Pulsar.Client.Otel
OpenTelemetry plugin for Pulsar.Client |
|
|
DotNetCore.CAP.Pulsar
Distributed transaction solution in micro-service base on eventually consistency, also an eventbus with Outbox pattern. |
|
|
Zq.Utils.Core
.NET Standard2.0、.NET Standard2.1、.NET5、.NET6版本工具类 |
|
|
SnD.Sdk
SDK for Sneaks&Data OSS Projects |
|
|
EasyCore.EventBus.Pulsar
.Net Core EventBus,Distributed Event Bus,Based on Pulsar。 |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Pulsar.Client:
| Repository | Stars |
|---|---|
|
dotnetcore/CAP
Distributed transaction solution in micro-service base on eventually consistency, also an eventbus with Outbox pattern
|
|
|
LeonKou/NetPro
🌈An enhanced version with clean architecture of asp.netcore,efficiently manage startup,Support for netcore3.1/6.0
|
| Version | Downloads | Last Updated |
|---|---|---|
| 3.13.4 | 145 | 2/10/2026 |
| 3.13.3 | 817 | 1/29/2026 |
| 3.13.2 | 4,273 | 1/15/2026 |
| 3.13.1 | 1,772 | 12/27/2025 |
| 3.13.0 | 24,844 | 11/8/2025 |
| 3.12.1 | 3,735 | 10/30/2025 |
| 3.12.0 | 20,187 | 9/22/2025 |
| 3.11.0 | 803 | 9/18/2025 |
| 3.10.0 | 30,211 | 7/31/2025 |
| 3.9.6 | 746 | 7/29/2025 |
| 3.9.5 | 67,930 | 6/20/2025 |
| 3.9.4 | 16,054 | 5/28/2025 |
| 3.9.3 | 23,503 | 5/22/2025 |
| 3.9.2 | 44,801 | 4/14/2025 |
| 2.21.1 | 103 | 1/30/2026 |
| 2.21.0 | 274 | 9/23/2025 |
| 2.20.0 | 249 | 7/31/2025 |
| 2.19.0 | 513 | 5/19/2025 |
| 2.18.3 | 562 | 4/16/2025 |
| 2.18.2 | 389 | 4/3/2025 |
Several fixes for seeking by timestamp