Pulsar.Client
2.13.1
dotnet add package Pulsar.Client --version 2.13.1
NuGet\Install-Package Pulsar.Client -Version 2.13.1
<PackageReference Include="Pulsar.Client" Version="2.13.1" />
paket add Pulsar.Client --version 2.13.1
#r "nuget: Pulsar.Client, 2.13.1"
// Install Pulsar.Client as a Cake Addin
#addin nuget:?package=Pulsar.Client&version=2.13.1
// Install Pulsar.Client as a Cake Tool
#tool nuget:?package=Pulsar.Client&version=2.13.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-formulae
brew install streamlio/homebrew-formulae/pulsar
brew install streamlio/homebrew-formulae/bookkeeper
brew services start pulsar
brew services start bookkeeper
- Run commands in
/tests/IntegrationTests/commands.txt
- Change
pulsarAddress
in Common.fs to point your pulsar cluster - Ensure
public/default
namespace with default settings - Ensure
public/retention
namespace 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. |
.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.11.2)
- AvroSchemaGenerator (>= 2.9.2)
- FSharp.Core (>= 7.0.400)
- FSharp.UMX (>= 1.1.0)
- K4os.Compression.LZ4 (>= 1.3.6)
- Microsoft.Bcl.AsyncInterfaces (>= 7.0.0)
- Microsoft.Extensions.Caching.Memory (>= 7.0.0)
- Microsoft.Extensions.Http (>= 7.0.0)
- Microsoft.Extensions.Logging (>= 7.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.1)
- Microsoft.IO.RecyclableMemoryStream (>= 2.3.2)
- NSec.Cryptography (= 20.2.0)
- PemUtils (>= 3.0.0.82)
- Pipelines.Sockets.Unofficial (>= 2.2.8)
- protobuf-net (>= 3.2.26)
- protobuf-net.Reflection (>= 3.2.12)
- Snappy.Standard (>= 0.2.0)
- System.IO.Pipelines (>= 7.0.0)
- System.Text.Json (>= 7.0.3)
- System.Threading.Channels (>= 7.0.0)
- zlib.net-mutliplatform (>= 1.0.6)
- ZstdNet (>= 1.4.5)
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 |
---|---|---|
2.13.1 | 54 | 9/29/2023 |
2.13.0 | 375 | 9/25/2023 |
2.12.7 | 2,676 | 8/9/2023 |
2.12.6 | 9,773 | 7/23/2023 |
2.12.4 | 1,731 | 7/17/2023 |
2.12.3 | 3,189 | 7/6/2023 |
2.12.2 | 46,863 | 3/31/2023 |
2.12.1 | 1,259 | 3/22/2023 |
2.12.0 | 6,476 | 1/29/2023 |
2.11.0 | 25,516 | 10/13/2022 |
2.10.4 | 5,814 | 10/7/2022 |
2.10.3 | 2,047 | 9/16/2022 |
2.10.2 | 47,685 | 6/22/2022 |
2.10.1 | 53,016 | 3/9/2022 |
2.10.0 | 37,191 | 2/23/2022 |
2.9.4 | 12,066 | 12/5/2021 |
2.9.3 | 2,586 | 11/26/2021 |
2.9.2 | 445 | 11/11/2021 |
2.9.1 | 26,946 | 10/14/2021 |
2.9.0 | 1,366 | 9/29/2021 |
2.8.1 | 4,448 | 9/9/2021 |
2.8.0 | 1,391 | 9/2/2021 |
2.7.2 | 5,277 | 8/26/2021 |
2.7.1 | 6,608 | 8/6/2021 |
2.7.0 | 6,386 | 7/20/2021 |
2.6.3 | 1,235 | 7/15/2021 |
2.6.2 | 1,101 | 7/9/2021 |
2.6.1 | 608 | 7/6/2021 |
2.6.0 | 5,970 | 7/5/2021 |
2.5.3 | 423 | 7/2/2021 |
2.5.2 | 569 | 6/30/2021 |
2.5.1 | 859 | 6/29/2021 |
2.5.0 | 433 | 6/27/2021 |
2.4.1 | 723 | 6/25/2021 |
2.4.0 | 1,856 | 6/14/2021 |
2.3.3 | 816 | 6/8/2021 |
2.3.1 | 1,972 | 5/11/2021 |
2.3.0 | 591 | 5/11/2021 |
2.2.0 | 1,382 | 4/22/2021 |
2.1.1 | 498 | 4/14/2021 |
2.1.0 | 3,781 | 3/16/2021 |
2.0.4 | 1,515 | 3/5/2021 |
2.0.3 | 473 | 3/5/2021 |
2.0.2 | 1,745 | 2/23/2021 |
2.0.1 | 8,503 | 2/17/2021 |
2.0.0 | 472 | 2/12/2021 |
1.8.5 | 8,596 | 2/10/2021 |
1.8.4 | 19,931 | 1/25/2021 |
1.8.3 | 1,568 | 1/6/2021 |
1.8.2 | 2,536 | 12/17/2020 |
1.8.1 | 3,655 | 12/15/2020 |
1.8.0 | 2,948 | 12/10/2020 |
1.7.8 | 42,837 | 5/17/2021 |
1.7.7 | 418 | 5/17/2021 |
1.7.6 | 484 | 5/17/2021 |
1.7.5 | 2,258 | 10/30/2020 |
1.7.4 | 5,300 | 10/19/2020 |
1.7.3 | 22,976 | 10/13/2020 |
1.7.2 | 929 | 10/2/2020 |
1.7.1 | 3,505 | 9/17/2020 |
1.7.0 | 690 | 9/14/2020 |
1.6.3 | 587 | 9/12/2020 |
1.6.2 | 612 | 9/3/2020 |
1.6.1 | 594 | 9/2/2020 |
1.6.0 | 621 | 8/30/2020 |
1.5.0 | 9,945 | 8/3/2020 |
1.4.3 | 1,653 | 7/9/2020 |
1.4.2 | 695 | 7/2/2020 |
1.4.1 | 537 | 6/29/2020 |
1.4.0 | 849 | 6/17/2020 |
1.3.0 | 705 | 6/14/2020 |
1.2.0 | 1,905 | 5/27/2020 |
1.1.1 | 615 | 5/22/2020 |
1.1.0 | 1,090 | 5/15/2020 |
1.0.1 | 598 | 5/14/2020 |
1.0.0 | 555 | 5/14/2020 |
0.18.4 | 936 | 4/21/2020 |
0.18.3 | 639 | 4/18/2020 |
0.18.2 | 2,444 | 4/8/2020 |
0.18.1 | 581 | 4/7/2020 |
0.18.0 | 694 | 4/1/2020 |
0.17.0 | 747 | 3/21/2020 |
0.16.0 | 627 | 3/19/2020 |
0.15.0 | 1,181 | 2/28/2020 |
0.14.1 | 566 | 2/25/2020 |
0.14.0 | 566 | 2/21/2020 |
0.13.1 | 556 | 2/19/2020 |
0.13.0 | 857 | 2/14/2020 |
0.12.0 | 1,231 | 12/31/2019 |
0.11.2 | 641 | 12/23/2019 |
0.11.1 | 598 | 12/20/2019 |
0.11.0 | 602 | 12/16/2019 |
0.10.0 | 626 | 11/17/2019 |
0.9.1 | 660 | 11/14/2019 |
0.9.0 | 602 | 11/12/2019 |
0.8.2 | 614 | 11/9/2019 |
0.8.1 | 615 | 11/4/2019 |
0.8.0 | 627 | 11/2/2019 |
0.7.0 | 617 | 10/25/2019 |
0.6.0 | 621 | 10/16/2019 |
0.5.0 | 647 | 10/15/2019 |
0.4.0 | 613 | 10/8/2019 |
0.3.0 | 624 | 10/7/2019 |
0.2.0 | 696 | 9/30/2019 |
0.1.5 | 567 | 9/13/2019 |
0.1.4 | 560 | 9/9/2019 |
0.1.3 | 523 | 9/9/2019 |
0.1.2 | 517 | 9/9/2019 |
0.1.1 | 616 | 9/6/2019 |
0.1.0 | 553 | 9/6/2019 |
Fix for AuthChallenge