Pulsar.Client 3.13.4

dotnet add package Pulsar.Client --version 3.13.4
                    
NuGet\Install-Package Pulsar.Client -Version 3.13.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Pulsar.Client" Version="3.13.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Pulsar.Client" Version="3.13.4" />
                    
Directory.Packages.props
<PackageReference Include="Pulsar.Client" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Pulsar.Client --version 3.13.4
                    
#r "nuget: Pulsar.Client, 3.13.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Pulsar.Client@3.13.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Pulsar.Client&version=3.13.4
                    
Install as a Cake Addin
#tool nuget:?package=Pulsar.Client&version=3.13.4
                    
Install as a Cake Tool

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

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
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 168 2/10/2026
3.13.3 825 1/29/2026
3.13.2 4,310 1/15/2026
3.13.1 1,773 12/27/2025
3.13.0 24,916 11/8/2025
3.12.1 3,742 10/30/2025
3.12.0 20,275 9/22/2025
3.11.0 807 9/18/2025
3.10.0 30,216 7/31/2025
3.9.6 746 7/29/2025
3.9.5 68,104 6/20/2025
3.9.4 16,054 5/28/2025
3.9.3 23,504 5/22/2025
3.9.2 44,816 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 563 4/16/2025
2.18.2 389 4/3/2025
Loading failed

Fix for handling new partitions in consumer