PubNub Realtime Gateway for Azure Event Hubs

Geremy Cohen 提供
上次更新日期: 2016/12/8

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) 範本是由社群成員 (而非 Microsoft) 建立。每個 ARM 範本都是由其擁有者 (而非 Microsoft) 依據授權合約授權給您。Microsoft 並不負責社群成員所提供和授權的 ARM 範本,而不會為了安全性、相容性或效能進行篩選。社群 ARM 範本並未依據任何 Microsoft 支援方案或服務提供支援,而且會在沒有任何擔保的情況下依現況提供。

參數

參數名稱 說明
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 跨平台命令列介面