跳过导航

Microsoft Azure Event Grid Publish/Consume Samples for Java

Milis 提供
上次更新时间:2018/6/15
在 GitHub 上编辑

This contains Java samples for publishing events to Azure Event Grid and consuming events from Azure Event Grid. It also contains a set of management samples that demonstrates how to manage topics and event subscriptions using Java code.

Features

These samples demonstrates the following features:

  • How to create a topic and an event subscription to a topic using Java and Azure CLI.
  • How to create an event subscription to a blob storage using Azure CLI.
  • How to create an event hub using Java.
  • How to publish events to Azure Event Grid using Java and Azure Functions.
  • How to consume events delivered by Azure Event Grid using an Azure Function and through an Azure Event Hub event processor.

Getting Started

Prerequisites

  • Azure CLI for provisioning the Azure resources such as resource group, storage account, EventGrid topic, EventSubscription
  • Azure Functions Core Tools (https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local)

Running this Sample

To run these samples clone the repo, go to the respective sample directory and follow the README.md steps for each particular sample.

Resources

(Any additional resources or related projects)

  • https://docs.microsoft.com/en-us/azure/event-grid/overview
  • https://docs.microsoft.com/en-us/azure/azure-functions/functions-develop-vs

More information

http://azure.com/java

If you don't have a Microsoft Azure subscription you can get a FREE trial account here


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.