Skip to content

[EPH] Update event-hub version to 2.1.1 and make it compatible with EPH#4333

Merged
ShivangiReja merged 11 commits intoAzure:masterfrom
ShivangiReja:updateEHVersion
Jul 16, 2019
Merged

[EPH] Update event-hub version to 2.1.1 and make it compatible with EPH#4333
ShivangiReja merged 11 commits intoAzure:masterfrom
ShivangiReja:updateEHVersion

Conversation

@ShivangiReja
Copy link
Member

  • Updated event-hubs version to @azure/event-hubs: "^2.1.1" in EPH package.json
  • Updated ms-rest-azure -> @azure/ms-rest-nodeauth to make EPH compatible with updated event hubs version
  • Updated changelog
  • Updated EPH version: 2.0.0

More more context: #4136, #4318

ShivangiReja and others added 2 commits July 16, 2019 14:50
Co-Authored-By: Ramya Rao <ramya.rao.a@outlook.com>
Co-Authored-By: Ramya Rao <ramya.rao.a@outlook.com>
- Use the latest version of the dependency on [@azure/event-hubs](https://www.npmjs.com/package/@azure/event-hubs/v/2.1.1) that has fixes for the following bugs
- Added event handlers for `error` and `protocolError` events on the connection object to avoid the case of unhandled exceptions. This is related to the [bug 4136](https://github.com/Azure/azure-sdk-for-js/issues/4136)
- A network connection lost error is now treated as retryable error. A new error with name `ConnectionLostError`
is introduced for this scenario which you can see if you enable the [logs](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/event-hubs#enable-logs).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can EPH users use the same kind of logging mechanism? Should we point them to the section in EPH instead of EH?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also thought about it but above we mentioned that event hubs has the following bug fixes that's why I added the link for event hubs logging mechanism.

Event hubs logging mechanism is different than EPH:
Event hubs : export DEBUG=azure*
EPH: export DEBUG=azure:eph*

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll update the link to point them to the EPH debug section.

ShivangiReja and others added 2 commits July 16, 2019 15:31
Co-Authored-By: Ramya Rao <ramya.rao.a@outlook.com>
@ShivangiReja ShivangiReja added the Client This issue points to a problem in the data-plane of the library. label Jul 16, 2019
@ShivangiReja ShivangiReja merged commit 9128a46 into Azure:master Jul 16, 2019
mikeharder added a commit to mikeharder/azure-sdk-for-js that referenced this pull request Jul 26, 2019
mikeharder added a commit that referenced this pull request Jul 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Client This issue points to a problem in the data-plane of the library. Event Hubs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants