1 unstable release

0.0.1 Mar 14, 2024

#9 in #pulsar

Download history 109/week @ 2024-03-11 7/week @ 2024-03-18 23/week @ 2024-04-01

139 downloads per month

MIT license

110KB
3K SLoC

Neutron - This package is currently a Work In Progress and is NOT Production Ready

An Apache Pulsar client library, built with pure rust 🦀 and requires no C++ dependencies. Neutron is built with a focus on:

  • Extensability through Plugins.
  • Simplicity by reducing the complexity of the internal client.

Features:

  • Pure Rust, No C++ Dependencies 🦀
  • Consumer Client 📥
  • Producer Client 📤
  • Plugin Support 🔌
  • Multi/Dual Consumer & Producer Support 🤝
  • TLS Support via rustls 🔐
  • Async Resolution of Send & Acks 🪓
  • Automatic Reconnection ♻️
  • Automatic Operation Retry 🚀

Installation

Using Cargo Add

This will install the newest version of neutron into your cargo.toml

cargo add neutron

Manually

As this is currently in prerelease you must use the git ssh address directly.

neutron = { git = "git@github.com/klaatu01/neutron.git" }

Features

The json feature provides automatic de/serialization through serde_json.

Usage

There are two ways to use a Consumer or Producer client; As stream/sink or by starting it as a task.

Dependencies

~15–32MB
~502K SLoC