mjtpena / mjtpena.github.io

Personal website repository.
2 stars 0 forks source link

blog/eventhubs-rust/ #4

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Publishing and consuming azure event hubs with amqp and rust | Michael John Peña ☁️

https://michaeljohnpena.com/blog/eventhubs-rust/

minghuaw commented 2 years ago

Just saying hi here from the author of the crate. Since version 0.6.3, there is an easier way to establish TLS connection, see this issue here https://github.com/minghuaw/fe2o3-amqp/issues/99#issuecomment-1237376001, and this example https://github.com/minghuaw/fe2o3-amqp/blob/main/examples/service_bus/src/bin/queue_sender.rs (I forgot to update the event_hub example).

I am currently working on an AMQP client for the unofficial azure sdk. Unfortunately servicebus will come first, but event_hub will come after servicebus

minghuaw commented 2 years ago

I have just got another quick note. The message builder is not required. The example was simply showing how one could use the message builder to set different sections of the message. However, event hubs do expect the content to be just a bag of bytes.

minghuaw commented 1 year ago

Hi again. I have recently released the initial implementation of azure event hubs sdk (https://crates.io/crates/azeventhubs). This is built on top of fe2o3-amqp and takes care of auto-recovery