This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
0.2.0 - EPH
amarzavery
released this
13 Sep 00:19
·
76 commits
to master
since this release
- Added support to automatically balance the load of receiving messages across multiple partitions.
- Added static method to create an EPH from an
IotHubConnectionString
- Added user-agent to the underlying amqp-connection. This would help in tracking usage of EPH.
- Changed the overall design of EPH.
- Instead of attaching handlers on
eph:message
andeph:error
, now the handlers need to be passed
as arguments to thestart()
method on EPH. - Apart from that an additional handler/method can be passed as an optional property
onEphError
to EPH. This handler will receive notifications from EPH regarding any errors that occur during
partition management. - Removed optional property
leasecontainerName
and replaced it with a required parameterstorageContainerName
wherever applicable in all the static methods onEventProcessorHost
. - Removed optional property
autoCheckpoint
and added optional propertiescheckpointManager
onEphError
leaseRenewInterval
leaseDuration
- Please take a look at the examples for more details.