Pulsar.Client 3.1.0

.NET 8.0
dotnet add package Pulsar.Client --version 3.1.0
NuGet\Install-Package Pulsar.Client -Version 3.1.0
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.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pulsar.Client --version 3.1.0
#r "nuget: Pulsar.Client, 3.1.0"
#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.
// Install Pulsar.Client as a Cake Addin
#addin nuget:?package=Pulsar.Client&version=3.1.0

// Install Pulsar.Client as a Cake Tool
#tool nuget:?package=Pulsar.Client&version=3.1.0

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 public/default namespace with default settings
    5. Ensure public/retention namespace with time or storage size retention configured
  • Send a Pull Request
Maintaners
  • @Lanayx
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android 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. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on Pulsar.Client:

Package Downloads
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版本工具类

Pulsar.Client.Otel

OpenTelemetry plugin for Pulsar.Client

RJ.Commons.Pulsar

Default Pulsar API for Aries project.

Commons.Pulsar

Package Description

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.1.0 245 11/19/2023
3.0.0 79 11/17/2023
3.0.0-beta.2 104 10/22/2023
3.0.0-beta.1 70 10/15/2023
2.15.0 989 11/18/2023
2.14.0 216 11/14/2023
2.13.2 8,608 10/11/2023
2.13.1 1,617 9/29/2023
2.13.0 2,070 9/25/2023
2.12.7 9,534 8/9/2023
2.12.6 20,593 7/23/2023
2.12.4 3,180 7/17/2023
2.12.3 8,184 7/6/2023
2.12.2 61,276 3/31/2023
2.12.1 2,435 3/22/2023
2.12.0 7,364 1/29/2023
2.11.0 27,847 10/13/2022
2.10.4 5,891 10/7/2022
2.10.3 2,119 9/16/2022
2.10.2 50,562 6/22/2022
2.10.1 54,190 3/9/2022
2.10.0 37,747 2/23/2022
2.9.4 13,220 12/5/2021
2.9.3 2,704 11/26/2021
2.9.2 505 11/11/2021
2.9.1 27,198 10/14/2021
2.9.0 1,426 9/29/2021
2.8.1 4,560 9/9/2021
2.8.0 1,450 9/2/2021
2.7.2 5,789 8/26/2021
2.7.1 6,672 8/6/2021
2.7.0 6,512 7/20/2021
2.6.3 1,322 7/15/2021
2.6.2 1,167 7/9/2021
2.6.1 677 7/6/2021
2.6.0 6,029 7/5/2021
2.5.3 485 7/2/2021
2.5.2 630 6/30/2021
2.5.1 926 6/29/2021
2.5.0 498 6/27/2021
2.4.1 782 6/25/2021
2.4.0 1,927 6/14/2021
2.3.3 891 6/8/2021
2.3.1 2,039 5/11/2021
2.3.0 651 5/11/2021
2.2.0 1,441 4/22/2021
2.1.1 569 4/14/2021
2.1.0 3,852 3/16/2021
2.0.4 1,593 3/5/2021
2.0.3 538 3/5/2021
2.0.2 1,821 2/23/2021
2.0.1 8,564 2/17/2021
2.0.0 533 2/12/2021
1.8.5 8,670 2/10/2021
1.8.4 20,877 1/25/2021
1.8.3 1,633 1/6/2021
1.8.2 2,601 12/17/2020
1.8.1 3,716 12/15/2020
1.8.0 3,062 12/10/2020
1.7.8 45,521 5/17/2021
1.7.7 475 5/17/2021
1.7.6 557 5/17/2021
1.7.5 2,358 10/30/2020
1.7.4 5,655 10/19/2020
1.7.3 23,892 10/13/2020
1.7.2 1,003 10/2/2020
1.7.1 3,641 9/17/2020
1.7.0 763 9/14/2020
1.6.3 651 9/12/2020
1.6.2 680 9/3/2020
1.6.1 656 9/2/2020
1.6.0 694 8/30/2020
1.5.0 10,006 8/3/2020
1.4.3 1,730 7/9/2020
1.4.2 764 7/2/2020
1.4.1 614 6/29/2020
1.4.0 925 6/17/2020
1.3.0 774 6/14/2020
1.2.0 1,976 5/27/2020
1.1.1 688 5/22/2020
1.1.0 1,154 5/15/2020
1.0.1 670 5/14/2020
1.0.0 622 5/14/2020
0.18.4 1,014 4/21/2020
0.18.3 702 4/18/2020
0.18.2 2,512 4/8/2020
0.18.1 646 4/7/2020
0.18.0 770 4/1/2020
0.17.0 813 3/21/2020
0.16.0 692 3/19/2020
0.15.0 1,247 2/28/2020
0.14.1 637 2/25/2020
0.14.0 639 2/21/2020
0.13.1 620 2/19/2020
0.13.0 930 2/14/2020
0.12.0 1,301 12/31/2019
0.11.2 708 12/23/2019
0.11.1 660 12/20/2019
0.11.0 665 12/16/2019
0.10.0 694 11/17/2019
0.9.1 724 11/14/2019
0.9.0 667 11/12/2019
0.8.2 685 11/9/2019
0.8.1 676 11/4/2019
0.8.0 697 11/2/2019
0.7.0 681 10/25/2019
0.6.0 689 10/16/2019
0.5.0 715 10/15/2019
0.4.0 675 10/8/2019
0.3.0 701 10/7/2019
0.2.0 755 9/30/2019
0.1.5 630 9/13/2019
0.1.4 622 9/9/2019
0.1.3 586 9/9/2019
0.1.2 578 9/9/2019
0.1.1 676 9/6/2019
0.1.0 619 9/6/2019

Support for IsConnected property