azure_messaging_eventhubs@0.2.0
Pre-release0.2.0 (2025-04-08)
Features Added
-
Added initial support for an EventHubs processor.
Note that as currently implemented, the processor is not very functional, since it requires that the customer provide an instance of a checkpoint store.
For people who wish to play with the checkpoint store, there is an
InMemoryCheckpointStorecreated (under the "test" feature) which can be used to experiment with the EventHubs processor. -
Removed the requirement that streaming messages from the
stream_eventsmethod on theEventReceiverusepin_mut!()on the provided stream. -
Removed direct dependencies on
tokiopackage. -
Added
partition_idoption toSendMessageOptions. -
Significant modifications to API surface to improve conformance to Azure RUST guidelines e.g., APIs which take ownership of a string consume
Stringparameter instead of borrowing a&strparameter.
Breaking Changes
- The stream returned by the
stream_eventsAPI needs to be declared as mutable. - APIs which used to return
Option<String>, andOption<Vec<T>>now returnOption<&str>, andOption<&[T]>. - APIs which take ownership of string parameters now take a
Stringparameter instead of a&strparameter.
Bugs Fixed
- If you call
send_eventorsend_messagewith a specific target partition, the call now respects the desired target partition.