-
Notifications
You must be signed in to change notification settings - Fork 5
/
eventhub_source_example.grc
139 lines (136 loc) · 2.98 KB
/
eventhub_source_example.grc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
options:
parameters:
author: Johanna Rivera
catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: Copyright (c) Microsoft Corporation
description: Simple Event Hub example that uses connection string authentication
to receive events.
gen_cmake: 'On'
gen_linking: dynamic
generate_options: no_gui
hier_block_src_path: '.:'
id: eventhub_example
max_nouts: '0'
output_language: python
placement: (0,0)
qt_qss_theme: ''
realtime_scheduling: ''
run: 'True'
run_command: '{python} -u {filename}'
run_options: prompt
sizing_mode: fixed
thread_safe_setters: ''
title: EventHub Source example
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [8, 8]
rotation: 0
state: enabled
blocks:
- name: connection_str
id: variable
parameters:
comment: ''
value: os.getenv('AZURE_EVENTHUB_CONNECTION_STRING')
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [288, 12.0]
rotation: 0
state: enabled
- name: consumer_grp
id: variable
parameters:
comment: ''
value: os.getenv('AZURE_EVENTHUB_CONSUMER_GROUP')
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [624, 12.0]
rotation: 0
state: enabled
- name: eventhub_name
id: variable
parameters:
comment: ''
value: os.getenv('AZURE_EVENTHUB_NAME')
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [488, 12.0]
rotation: 180
state: enabled
- name: samp_rate
id: variable
parameters:
comment: ''
value: '32000'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [184, 12]
rotation: 0
state: enabled
- name: azure_software_radio_eventhub_source_0
id: azure_software_radio_eventhub_source
parameters:
affinity: ''
alias: ''
authentication_method: connection_string
comment: ''
connection_str: connection_str
consumer_grp: consumer_grp
eventhub_host_name: ''
eventhub_name: eventhub_name
maxoutbuf: '0'
minoutbuf: '0'
partition_id: ''
sas: ''
starting_position: '''-1'''
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [320, 252.0]
rotation: 0
state: true
- name: blocks_message_debug_0
id: blocks_message_debug
parameters:
affinity: ''
alias: ''
comment: ''
en_uvec: 'True'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [672, 288.0]
rotation: 0
state: true
- name: import_0
id: import
parameters:
alias: ''
comment: ''
imports: import os
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [192, 84.0]
rotation: 0
state: true
connections:
- [azure_software_radio_eventhub_source_0, out, blocks_message_debug_0, print]
metadata:
file_format: 1