PubNub Realtime Gateway for Azure Event Hubs

Автор: Geremy Cohen
Последнее обновление: 08.12.2016

The PubNub Realtime Gateway for Azure provides a realtime data stream bridge between the PubNub Data Stream Network and Azure Event Hubs. -- consider it a bi-directional bridge between PubNub and Azure!

Этот шаблон Azure Resource Manager (ARM) был создан участником сообщества, а не Майкрософт. Каждый шаблон ARM лицензирован для вас в соответствии с условиями лицензионного соглашения с владельцем, а не с Майкрософт. Майкрософт не несет ответственности за шаблоны ARM, предоставленные и лицензированные членами сообщества, и не отслеживает их безопасности, совместимости или производительности. Шаблоны ARM, созданные сообществом, не поддерживаются ни в соответствии с какой-либо программой поддержки Майкрософт, ни какими-либо службами поддержки Майкрософт и предоставляются КАК ЕСТЬ без каких-либо гарантий.

Параметры

Имя параметра Описание
Event Hub Namespace A unique Namespace. It's suggested to replace the 'pn-' prefix with your own unique prefix, such as your company name, and add a '-suffix' at the end, where the suffix is also unique.
Azure Webjob Name A unique Web Job Name. Follow the same naming conventions as for Event Hub Namespaces to ensure you have a unique, legal string.
Azure Datacenter Location Must be westus unless you ensure all components are in the same region. See README for more information.
PubNub Ingress Channel A channel name that the PubNub Subscriber should listen on. If you wish for the subscriber to listen on multiple channels, enter a CSV list of channels, with no spaces.
PubNub Egress Channel A channel name that the PubNub Publisher should publish back out on.
PubNub Announce Channel A channel name that the PubNub Deployment script will alert on when the deployment has completed. If you don't intend on using this, just set this value to all caps, case-sensitive DISABLED. See below for more information on using the Provisioning Listener and the Announce channel.
PubNub Publish Key The PubNub Publish API Key that the PubNub component should publish against.
PubNub Subscribe Key The PubNub Subscribe API Key that the PubNub component should subscribe against.
Azure Service Plan Must be USWestBasic unless you ensure all components are in the same region. See README for more information.
Azure Ingress Event Hub Name The name you wish to give the Ingress (Input) Event Hub. You can accept the default, as the Event Hub name needs only to be unique within a unique Event Hub Namespace.
Azure Egress Event Hub Name The name you wish to give the Egress (Output) Event Hub. You can accept the default, as the Event Hub name needs only to be unique within a unique Event Hub Namespace.
Azure Ingress SAS Policy Name The name you wish to give the Ingress (Input) Event Hub SAS Policy. You can accept the default, as the Event Hub SAS Policy name needs only to be unique within a unique Event Hub Namespace.
Azure Egress SAS Policy Name The name you wish to give the Egress (Output) Event Hub SAS Policy. You can accept the default, as the Event Hub SAS Policy name needs only to be unique within a unique Event Hub Namespace.

Использование шаблона

PowerShell
New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/pubnub-eventhub-bridge/azuredeploy.json
Установка и настройка служб Azure PowerShell
Командная строка
azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/pubnub-eventhub-bridge/azuredeploy.json
Установка и настройка кросс-платформенного интерфейса командной стройки Azure