From 2ec3e3be819dc9201fe05148cdf413b55df85160 Mon Sep 17 00:00:00 2001 From: Ramya Rao Date: Wed, 22 Sep 2021 16:41:52 -0700 Subject: [PATCH] Update readme with pointers to newer samples (#481) This PR copies over content from https://github.com/Azure/azure-event-hubs/blob/master/samples/README.md to ensure we point users to newer packages --- readme.md | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 2ec21ee0..c561e16a 100644 --- a/readme.md +++ b/readme.md @@ -15,10 +15,29 @@ This repository contains samples for Azure Event Hubs. ## Client SDK samples -The .NET and Java client SDK samples in this repository use **old SDKs**. For samples that use new SDKs, see the following repositories. -- [.NET](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/eventhub/Azure.Messaging.EventHubs/samples) -- [Java](https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs) +> **Note:** This repository holds samples for the legacy libraries for Azure Event Hubs for .NET and Java developers. We highly recommend you to upgrade to the newer packages. + +.NET legacy packages + +- Microsoft.Azure.EventHubs (**legacy**) +- Microsoft.Azure.EventHubs.Processor (**legacy**) +- WindowsAzure.ServiceBus (**legacy**) + +Java legacy packages + +- com.microsoft.azure:azure-eventhubs (**legacy**) +- com.microsoft.azure:azure-eventhubs-eph (**legacy**) + +Samples for **latest** .NET packages for Azure Event Hubs + +- [Azure.Messaging.EventHubs](https://docs.microsoft.com/samples/azure/azure-sdk-for-net/azuremessagingeventhubs-samples/) +- [Azure.Messaging.EventHubs.Processor](https://docs.microsoft.com/samples/azure/azure-sdk-for-net/azuremessagingeventhubsprocessor-samples/) + +Samples for **latest** Java packages for Azure Event Hubs + +- [com.azure:azure-messaging-eventhubs](https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/eventhubs/azure-messaging-eventhubs/src/samples) +- [com.azure:azure-messaging-eventhubs-checkpointstore-blob](https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/src/samples) You can find samples for other languages and frameworks in the following repositories: - [JavaScript](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/event-hubs/samples) @@ -35,4 +54,4 @@ This repository also contains [management samples](https://github.com/Azure/azur ## See also -To learn about Event Hubs, see our [Event Hubs documentation](https://docs.microsoft.com/en-us/azure/event-hubs/). \ No newline at end of file +To learn about Event Hubs, see our [Event Hubs documentation](https://docs.microsoft.com/en-us/azure/event-hubs/).