Memphis Rust Client
This is an unofficial client for Memphis, written in Rust.
Installation
Add the following to your Cargo.toml
file:
[]
= "0.4.0"
Usage
Consumer
use MemphisClient;
use MemphisConsumerOptions;
use MemphisStationsOptions;
async
Producer
use MemphisClient;
use MemphisProducerOptions;
use MemphisStationsOptions;
async
Supported Features
- ✅ Connection
- ✅ Disconnection
- ✅ Create a station
- ✅ Destroy a station
- ✅ Retention
- ✅ Retention values
- ✅ Storage types
- ⚠️ Schemaverse (WIP. Disabled by default via feature flag)
- ❌ Create a new schema
- ❌ Enforce a schema Protobuf
- ✅ Enforce a schema Json
- ❌ Enforce a schema GraphQL
- ❌ Detach a schema
- ✅ Produce
- ✅ Add headers
- ✅ Async produce
- ✅ Message ID
- ✅ Destroy a producer
- ✅ Consume
- ✅ Ack a message
- ❌ Fetch
- ✅ Message delay
- ✅ Get Headers
- ✅ Get message sequence number
- ✅ Destroying a Consumer
- ✅ Check if broker is connected
- ✅ Consumer prefetch