nats.rs
nats.rs copied to clipboard
Rust client for NATS, the cloud native messaging system.
It looks like #224, but I guess with a new api (since the old issue was closed). - [x] Included below version and environment information - [x] Included a [Minimal,...
#### Use Case: Add a flush parameter for low latency use cases that flushes automatically. This is before and after flushing connection after every publish. ![image](https://user-images.githubusercontent.com/85544055/180868083-c119754f-20e4-4191-ac15-8244697d2a3a.png) #### Proposed Change: Add...
Consider this sample: ```rust pub(crate) async fn new( nats_url: &str, subscription_type: EngineSubscriptionType, ) -> anyhow::Result { let client = async_nats::connect(nats_url).await?; let subscription = client .subscribe(Self::topic_from_subscription_type(&subscription_type)) .await?; Ok(Receiver { client, subscription,...
#### Use Case: I like the reconnection capabilities of the sync nats client. You can set to keep reconnecting a max number of times (which can be None for infinity)...
Following #222 this introduces the subject type to the new `asnyc-nats` client. It seemed to me that `async-nats` is now mature enough to bring this in again 😄 I adapted...
Hey all I'm running into some dependency conflicts. I was wondering whether if it would be possible to relax the zeroize requirement from 1.4 to support more versioning! If not,...
On current nats server version (2.8) when a paged request is made to jetstream (e.g. to list the stream names), the page will never be empty, making the last page...