2019-10-07 5.0.0-preview.4
- Current implementation of the Partition Manager takes the event hub name, consumer group name and partition id to ensure uniqueness for the checkpoint and ownership.
Since the same event hub name and consumer group name can exist in another namespace, we addedfullyQualifiedNamespace
as well to ensure uniqueness.
(PR #5153) - Adds preview capabilities for
@azure/core-tracing
.
(PR #5207
Breaking changes
-
Removed the
createFromIotHubConnectionString
method fromEventHubClient
. (PR #5311).
Instead, pass an Event Hubs-compatible connection string
when instantiating anEventHubClient
to read properties or events from an IoT Hub.Previously:
const client = await EventHubClient.createFromIotHubConnectionString(iotConnectionString);
Current:
const client = new EventHubClient(iotEventHubsCompatibleConnectionString);
-
The
PartitionContext
properties have been merged into thePartitionProcessor
class.
ThePartitionProcessor
now exposes anupdateCheckpoint
method that can be called to checkpoint events.