mcollier / azure-function-event-hub-sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Azure Functions and Event Hubs SDK Sample

Steps

  1. Open solution in dev container.
  2. Deploy the Azure resources specified in main.bicep. This will create a new resource group and two Event Hub namespaces, and an event hub named 'orders' in each namespace.
  3. Copy the RootManageSharedAccessKey from the Event Hub namespace in East US.
  4. Paste the connection string into the eastUSEventHubConnectionString variable at the top of the test.http file.
  5. Copy the RootManageSharedAccessKey from the Event Hub namespace in West Europe.
  6. Paste the connection string into the westEuropeEventHubConnectionString variable at the top of the test.http file.
  7. Start the local function app using the func host start command.
  8. Using the test.http file, issue requests against the old SDK and new SDK (notes are in the test.http to indicate which request targets which SDK).

About

License:MIT License


Languages

Language:JavaScript 62.6%Language:Bicep 32.5%Language:Shell 4.8%