github Azure/azure-sdk-for-js @azure/event-hubs_5.0.0-preview.4

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 added fullyQualifiedNamespace as well to ensure uniqueness.
    (PR #5153)
  • Adds preview capabilities for @azure/core-tracing.
    (PR #5207

Breaking changes

  • Removed the createFromIotHubConnectionString method from EventHubClient. (PR #5311).
    Instead, pass an Event Hubs-compatible connection string
    when instantiating an EventHubClient 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 the PartitionProcessor class.
    The PartitionProcessor now exposes an updateCheckpoint method that can be called to checkpoint events.

Don't miss a new azure-sdk-for-js release

NewReleases is sending notifications on new releases.