Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ Transports target the latest major version of their native client. Updating clie

- **Sagas / process managers** (`Relayer.Sagas`): explicit state classes, optimistic concurrency (no hand-written lock providers), built on the inbox and outbox for idempotency, timeouts through the scheduler, and diagram export (Rebus #341, #1136, #1205; SlimMessageBus #384). [Diagram declarations and export](https://relayer.tomlonghurst.dev/docs/guides/saga-diagrams) and [transactional state transitions](https://relayer.tomlonghurst.dev/docs/guides/sagas) are implemented. The optional `Relayer.Sagas.EntityFrameworkCore` integration uses the existing PostgreSQL EF Core consumer boundary, native `xmin` concurrency and generated handler dispatch. These are post-v1 extensions under D20. [Durable process timeouts](https://relayer.tomlonghurst.dev/docs/guides/saga-timeouts) compose typed handlers, explicit wait correlation and existing transactional scheduled sends with the PostgreSQL due-row dispatcher.
- **Request/response** is implemented for explicit endpoints with mandatory timeouts, bounded process-local correlation, and `replyto`/`correlationid` CloudEvents extensions (D41). It reuses the send and consume pipelines; arbitrary reply destinations and temporary queues remain unsupported. See the [request/response guide](https://relayer.tomlonghurst.dev/docs/guides/request-response).
- **Additional transports:** NATS JetStream connection/topology management is implemented, while message execution waits for a native byte-backed header API ([status](../website/docs/transports/nats.md)). Google Pub/Sub, Pulsar, RabbitMQ Streams, and the Azure Service Bus emulator profile remain planned.
- **Additional transports:** NATS JetStream connection/topology management is implemented, while message execution waits for a native byte-backed header API ([status](../website/docs/transports/nats.md)). Pulsar remains planned pending native UTF-8 property and Native AOT prerequisites ([status](../website/docs/transports/pulsar.md)). Google Pub/Sub, RabbitMQ Streams, and the Azure Service Bus emulator profile remain planned.
- **Outbox dispatch from CDC** (§6.4).

---
Expand Down
4 changes: 4 additions & 0 deletions website/docs/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ Relayer is in early development. Track progress in [GitHub issues](https://githu
- Core tracing primitives, single and batch delivery spans, native settlement wrappers, consume metrics and generated failure logs. Kafka send, serial receive and batch-commit instrumentation are implemented; PostgreSQL outbox trace propagation, pending deltas and dispatch lag are implemented; the other native receive adapters remain planned.
- The optional [health integration](guides/health-checks.md), with connectivity, consumer liveness and backlog checks. Kafka provides native adapters; the outbox adapter accepts application-provided durable stores. Other native broker adapters remain planned.

## Native client prerequisites

- [Apache Pulsar](transports/pulsar.md) remains planned. The client assessment found upstream prerequisites for byte-backed UTF-8 properties and a verified Native AOT byte-message path. No Pulsar adapter or package implementation is available yet.

## Phases

| Phase | Scope | Exit criteria |
Expand Down
1 change: 1 addition & 0 deletions website/docs/transports/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ A transport is an adapter over one native client. Each transport package depends
| `Relayer.AmazonSqs` | Amazon SQS and SNS | `AWSSDK.SQS` and `AWSSDK.SimpleNotificationService` | In development |
| `Relayer.RabbitMQ` | RabbitMQ | `RabbitMQ.Client` | [Native connection and topology](rabbitmq.md) implemented; send, receive and health adapters planned |
| `Relayer.Nats` | NATS JetStream | `NATS.Client.JetStream` | [Native connection and topology](nats.md) implemented; message execution blocked on native byte-backed headers |
| `Relayer.Pulsar` (planned) | Apache Pulsar | Client assessment: DotPulsar 5.3.4 | [Implementation blocked on native UTF-8 properties and Native AOT compatibility](pulsar.md); no adapter implemented |

Every transport, including third-party ones, must pass the transport conformance suite: send, receive, settle, retry, dead-letter, delay, ordering, trace propagation and reconnect.

Expand Down
17 changes: 17 additions & 0 deletions website/docs/transports/pulsar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: Apache Pulsar (planned)
description: "Pulsar transport status and native client prerequisites."
---

`Relayer.Pulsar` is planned under [#315](https://github.com/thomhurst/Relayer/issues/315). There is no Pulsar package implementation or registration API yet. Send, receive, settlement, topology, tracing, transport conformance and native-client performance comparisons remain unimplemented.

## Native client prerequisites

The client assessment checked the official [DotPulsar 5.3.4](https://github.com/apache/pulsar-dotpulsar/releases/tag/5.3.4), including its source and current `master`. Two upstream prerequisites prevent an adapter from meeting Relayer's current contracts:

- **UTF-8 message properties:** the native [`MessageMetadata` indexer](https://github.com/apache/pulsar-dotpulsar/blob/5.3.4/src/DotPulsar/MessageMetadata.cs) accepts only strings. Relayer's default CloudEvents path keeps changing values, including message IDs and trace context, in UTF-8 buffers. Converting those values into new strings would add allocations in Relayer's send path. [DotPulsar #301](https://github.com/apache/pulsar-dotpulsar/issues/301) requests a native byte-backed property API.
- **Native AOT and trimming:** a .NET 10 byte-array consumer probe still reaches reflection-based compression discovery without enabling producer compression or dynamic schemas. Native AOT publishing emits analysis warnings and fails when those warnings are treated as errors. [DotPulsar #288](https://github.com/apache/pulsar-dotpulsar/issues/288) tracks compatibility; it includes the 5.3.4 reproduction. This is a publish-time finding, not a claim that every untrimmed application fails.

The alternative [Pulsar.Client](https://github.com/fsprojects/pulsar-client-dotnet) also requires an `IReadOnlyDictionary<string, string>` for outgoing message properties in its [native producer API](https://github.com/fsprojects/pulsar-client-dotnet/blob/ebbf2851681d3ab14fbcb50afc277ced59802376/src/Pulsar.Client/Api/IProducer.fs). Switching clients therefore does not remove the property-conversion prerequisite.

Implementation can resume when a maintained native client provides a suitable property API and a verified Native AOT byte-message path. Relayer will reuse native recovery, flow control, ordering and acknowledgement rather than replace the native publish protocol. No Pulsar capabilities, conformance results or performance compliance are advertised before the adapter is implemented and tested against a real broker.
1 change: 1 addition & 0 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const sidebars = {
'transports/service-bus-receive',
'transports/rabbitmq',
'transports/nats',
'transports/pulsar',
'transports/authoring',
'transports/conformance',
'transports/receive',
Expand Down
1 change: 1 addition & 0 deletions website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ const status = [
['Fallback partition watermarks, key scheduling, backpressure and bounded drain', 'Implemented core SPI; native runtime first', true],
['RabbitMQ native connection and topology', 'Implemented', true],
['NATS JetStream native connection and topology', 'Implemented; message execution blocked upstream', true],
['Apache Pulsar transport', 'Planned; native UTF-8 properties and Native AOT prerequisites', false],
['AsyncAPI topology and JSON contract export', 'Implemented; protocol bindings unsupported', true],
['Kafka parallel receive via Dekaf, Service Bus receiver composition, SQS/SNS and RabbitMQ send/receive adapters', 'In progress', false],
['Health checks with application-provided adapters', 'Implemented', true],
Expand Down
Loading