1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Apache Pulsar broker implementation for `RustStream`.
//!
//! Handlers, routers, codecs, and middleware come from the framework; this crate supplies the
//! transport over the [`pulsar`](https://docs.rs/pulsar) client maintained by `StreamNative`.
//!
//! - Four subscription types as an enum with per-variant meaning (exclusive, shared, failover,
//! key-shared) - combinations that do not exist are unrepresentable.
//! - The consumer-side dead-letter policy carries its delivery-attempt limit, and the ack
//! timeout redelivers automatically; both are product features, not crate machinery.
//! - [`PulsarTopic`] validates the four meanings a topic name carries (persistence, tenant,
//! namespace, topic) on construction instead of at first use.
//! - Multi-topic and pattern subscriptions are descriptor variants.
//! - Key sharing maps onto the partition key; message properties carry headers directly, so no
//! envelope format is invented.
//!
//! Transactions, consumer-side batch receive, and the schema registry are deliberately out of
//! scope: the client does not implement them, and the capability traits they would back are
//! optional by design.
pub use ;
pub use PulsarError;
pub use ;
pub use ;
pub use ;
pub use ;
pub use PulsarTopic;