azure-event-hubs-spark icon indicating copy to clipboard operation
azure-event-hubs-spark copied to clipboard

Migrating connector to use azure-messaging-eventhubs (new recommended client library from Azure SDK)

Open jesinity opened this issue 2 years ago • 2 comments

Connector is currently using azure client library:

azure-eventhubs

that it seems to be deprecated and should be substituted by:

azure-messaging-eventhubs according to Microsoft Azure SDK guidelines.

Is there a plan to migrate to the new client library for the connector ?

jesinity avatar Apr 01 '22 12:04 jesinity

azure-messaging-eventhubs is for .Net.

For Java (which is the case of this connector), it stills azure-eventhubs https://learn.microsoft.com/en-us/java/api/com.microsoft.azure.eventhubs?view=azure-java-stable

But indeed, your right, It seems that documentation for Java is also not up to date: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/eventhubs/azure-messaging-eventhubs

sbarnoud avatar Nov 03 '22 17:11 sbarnoud

Just confirming that the new library to use is azure-messaging-eventhubs and the Azure docs can be found here.

The docs for the older library are also still available here, but as evidenced by the Maven repo, it is only receiving critical support.

Is there an indication of whether this migration is planned in the near future?

hannesswart1 avatar May 02 '23 12:05 hannesswart1