Excalibur.Dispatch.Transport.Pulsar 10.0.0-alpha.11

This is a prerelease version of Excalibur.Dispatch.Transport.Pulsar.
dotnet add package Excalibur.Dispatch.Transport.Pulsar --version 10.0.0-alpha.11
                    
NuGet\Install-Package Excalibur.Dispatch.Transport.Pulsar -Version 10.0.0-alpha.11
                    
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="Excalibur.Dispatch.Transport.Pulsar" Version="10.0.0-alpha.11" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Excalibur.Dispatch.Transport.Pulsar" Version="10.0.0-alpha.11" />
                    
Directory.Packages.props
<PackageReference Include="Excalibur.Dispatch.Transport.Pulsar" />
                    
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 Excalibur.Dispatch.Transport.Pulsar --version 10.0.0-alpha.11
                    
#r "nuget: Excalibur.Dispatch.Transport.Pulsar, 10.0.0-alpha.11"
                    
#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 Excalibur.Dispatch.Transport.Pulsar@10.0.0-alpha.11
                    
#: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=Excalibur.Dispatch.Transport.Pulsar&version=10.0.0-alpha.11&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Excalibur.Dispatch.Transport.Pulsar&version=10.0.0-alpha.11&prerelease
                    
Install as a Cake Tool

Excalibur.Dispatch.Transport.Pulsar

Apache Pulsar transport for the Excalibur framework, built on the DotPulsar client.

Provides competing-consumer message streaming with a subscription model that mirrors the framework's consumer-group transport semantics.

CloudEvents

Inbound CloudEvents are decoded automatically. Every receiver on this transport is wrapped by the framework's decoding decorator, so a message carrying CloudEvents markers arrives with the decoded event attached to it — the body and properties are untouched, and a message that is not a CloudEvent passes through unchanged. Every message in the batch is delivered, including a malformed one: it arrives carrying a decode error instead of a decoded event, never dropped. There is nothing to register and no option to set.

Outbound CloudEvents are opt-in per message. Attach the event to the message you were going to send anyway:

await sender.SendAsync(message.WithCloudEvent(cloudEvent), cancellationToken);

The event is published in CloudEvents structured mode — the whole event becomes a JSON document in the body under the application/cloudevents+json content type. A message you do not call WithCloudEvent on reaches the wire byte-identical, so ordinary traffic is unaffected, and nothing produces a CloudEvent for you. This path needs no trimming or ahead-of-time annotation: the envelope is written with a UTF-8 JSON writer rather than a reflection-based serializer.

Usage

services.AddPulsarTransport("events", pulsar =>
{
    pulsar.ServiceUrl("pulsar://localhost:6650")
          .Topic("orders")
          .SubscriptionName("order-processors")
          .SubscriptionType(PulsarSubscriptionType.Shared);
});

Subscription types

SubscriptionName is the durable consumer identity (the Pulsar analog of a Kafka consumer group). SubscriptionType controls how messages are distributed across consumers sharing that subscription:

Type Behavior
Shared Competing consumers, round-robin delivery (default).
Exclusive A single consumer holds the subscription.
Failover One active consumer; others stand by.
KeyShared Same-key messages go to the same consumer, preserving key ordering.

Scope

This package registers the Pulsar transport primitives — a keyed ITransportSender and ITransportReceiver for sending, receiving, and acknowledging messages directly against a Pulsar broker. High-level integration into the dispatch pipeline (publishing and consuming typed dispatch messages end-to-end through a transport adapter) is provided separately.

Capabilities

Request/reply is not natively supported. Validation fails fast at startup on invalid configuration.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.0-alpha.11 34 9/15/2026
10.0.0-alpha.10 56 9/6/2026
10.0.0-alpha.9 69 8/31/2026
10.0.0-alpha.8 65 8/14/2026
10.0.0-alpha.7 62 8/13/2026
10.0.0-alpha.6 70 8/11/2026
10.0.0-alpha.5 58 8/10/2026
10.0.0-alpha.4 58 8/10/2026