Pulsar.Client 2.16.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

No packages depend on Pulsar.Client.

replicateSubscriptionState support

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