node-red-contrib-azure-event-hub
Version:
Connector to azure event hub on Node-Red
38 lines (36 loc) • 1.3 kB
HTML
<script type="text/javascript">
RED.nodes.registerType('azureeventhub',{
category: 'cloud',
color: '#00abec',
defaults: {
name: {value:"Azure Event Hub"}
},
inputs:1,
outputs:1,
icon: "azureeh.png",
label: function() {
return this.name||"Azure Event Hub";
},
credentials: {
connectionString: {type:"text"},
eventHubPath: { type: "text"}
}
});
</script>
<script type="text/x-red" data-template-name="azureeventhub">
<div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row">
<label for="node-input-connectionString"><i class="fa fa-bookmark"></i> Connection String</label>
<input type="text" id="node-input-connectionString">
</div>
<div class="form-row">
<label for="node-input-eventHubPath"><i class="fa fa-bookmark"></i> Event Hub Path</label>
<input type="text" id="node-input-eventHubPath">
</div>
</script>
<script type="text/x-red" data-help-name="azureiothub">
<p>A simple node that sends the message payloads to Azure Event Hub</p>
</script>