streamnative/pulsar-rs
关于
Rust Client library for Apache Pulsar
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文pulsar-rs: Future-based Rust client for Apache Pulsar
This is a pure Rust client for Apache Pulsar that does not depend on the C++ Pulsar library. It provides an async/await based API, compatible with Tokio and async-std.
Features:
- URL based (
pulsar://andpulsar+ssl://) connections with DNS lookup; - Multi topic consumers (based on a regex or list);
- TLS connection;
- Configurable executor (Tokio or async-std);
- Automatic reconnection with exponential back off;
- Message batching;
- Compression with LZ4, zlib, zstd or Snappy (can be deactivated with Cargo features);
- Telemetry using tracing crate (can be activated with Cargo features).
Getting Started
Add the following dependencies in your Cargo.toml:
futures = "0.3"
pulsar = "6.3.1"
tokio = "1.0"
Try out examples:
Project Maintainers
Contribution
This project welcomes your PR and issues. For example, refactoring, adding features, correcting English, etc.
Thanks to all the people who already contributed!
License
This library is licensed under the terms of both the MIT license and the Apache License (Version 2.0), and may include packages written by third parties which carry their own copyright notices and license terms.
See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for details.
History
This project is originally created by @stearnsc and others at Wyyerd at 2018. Later at 2022, the orginal creators decided to transfer the repository to StreamNative.
Currently, this project is actively maintained under the StreamNative organization with a diverse maintainers group.
About StreamNative
Founded in 2019 by the original creators of Apache Pulsar, StreamNative is one of the leading contributors to the open-source Apache Pulsar project. We have helped engineering teams worldwide make the move to Pulsar with StreamNative Cloud, a fully managed service to help teams accelerate time-to-production.
探索相关项目
加载中…