Coder Social home page Coder Social logo

mmedhekar / event-grid-relay-listener Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure-samples/event-grid-relay-listener

0.0 1.0 0.0 16 KB

Use Service Bus Relay to receive events from Event Grid and print them directly to the console

License: MIT License

C# 100.00%

event-grid-relay-listener's Introduction

Event Grid Relay listener

The sample shows you how to use Azure Relay to listen to Azure Event Grid events directly on your console. Send events from any Event Publisher to your relay endpoint and stream them real time to your console for monitoring or app orchestration.

Features

This project framework provides the following features:

  • Event Grid WebHook endpoint validation
  • Relay listener
  • Framework for custom event handling

Getting Started

Prerequisites

Quickstart

  1. Create an Azure Relay namespace.
  2. Set the following values in GridRelayListener Program.cs:
  • with the Relay namespace you just created.
  • RootManageSharedAccessKey with the namespace key name if you changed this from the default. You do not need to do this if you left the name as default.
  • with the key value for your Relay namespace.
  1. Create an Event Grid Subscription. Put set https://<yourServiceBusNamespace>/gridservicelistener?code=<yourServiceBusKeyValue> as the subscriber endpoint.
  2. Run the GridRelayListener sample and send events to your Event Grid subscription using your preferred event publisher.

Demo

Use the Blob Storage eventing quick start to get set up sending events from your storage account and use https://<yourServiceBusNamespace>/gridservicelistener?code=<yourServiceBusKeyValue> as your subscriber endpoint. Add and delete files from your Blob Storage account to see events appear in your running console.

Resources

event-grid-relay-listener's People

Contributors

microsoftopensource avatar banisadr avatar seanfeldman avatar msftgits avatar

Watchers

Mayur avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.