Key features of pulsar-rs
masterThe pulsar-rs client is a pure Rust implementation for Apache Pulsar with the following capabilities:
- Connection Types: Supports URL-based connections using
pulsar://andpulsar+ssl://with DNS lookup. - Consumer Types: Supports multi-topic consumers using either a regex or a specific list of topics.
- Security: Supports TLS connections.
- Async Runtime: Configurable executor supporting
Tokioorasync-std. - Resilience: Automatic reconnection with exponential backoff.
- Performance: Supports message batching and various compression algorithms (LZ4, zlib, zstd, or Snappy).
- Observability: Telemetry integration via the
tracingcrate.
Note: Compression algorithms and telemetry can be enabled or disabled via Cargo features.