Skip to content

Commit fbe244b

Browse files
author
Enrique Ruiz
authored
Merge pull request #16 from keyko-io/feature/allow-null-values
Allow null values in the eventRecords
2 parents 5f8e25d + d8551d2 commit fbe244b

File tree

4 files changed

+117
-117
lines changed

4 files changed

+117
-117
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>io.keyko.monitoring</groupId>
88
<artifactId>schemas</artifactId>
99
<packaging>jar</packaging>
10-
<version>0.3.3</version>
10+
<version>0.3.4</version>
1111
<name>Web3 Monitoring Schemas</name>
1212
<url>https://github.com/keyko-io/web3-monitoring-schemas</url>
1313

src/main/resources/avro/FlatEventBlockRecord.avsc

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -26,138 +26,138 @@
2626
},
2727
{
2828
"name": "indexed_param_name_0",
29-
"type": "string",
30-
"default": ""
29+
"type": ["null", "string"],
30+
"default": null
3131
},
3232
{
3333
"name": "indexed_param_type_0",
34-
"type": "string",
35-
"default": ""
34+
"type": ["null", "string"],
35+
"default": null
3636
},
3737
{
3838
"name": "indexed_param_value_0",
39-
"type": "string",
40-
"default": ""
39+
"type": ["null", "string"],
40+
"default": null
4141
},
4242
{
4343
"name": "indexed_param_name_1",
44-
"type": "string",
45-
"default": ""
44+
"type": ["null", "string"],
45+
"default": null
4646
},
4747
{
4848
"name": "indexed_param_type_1",
49-
"type": "string",
50-
"default": ""
49+
"type": ["null", "string"],
50+
"default": null
5151
},
5252
{
5353
"name": "indexed_param_value_1",
54-
"type": "string",
55-
"default": ""
54+
"type": ["null", "string"],
55+
"default": null
5656
},
5757
{
5858
"name": "indexed_param_name_2",
59-
"type": "string",
60-
"default": ""
59+
"type": ["null", "string"],
60+
"default": null
6161
},
6262
{
6363
"name": "indexed_param_type_2",
64-
"type": "string",
65-
"default": ""
64+
"type": ["null", "string"],
65+
"default": null
6666
},
6767
{
6868
"name": "indexed_param_value_2",
69-
"type": "string",
70-
"default": ""
69+
"type": ["null", "string"],
70+
"default": null
7171
},
7272
{
7373
"name": "indexed_param_name_3",
74-
"type": "string",
75-
"default": ""
74+
"type": ["null", "string"],
75+
"default": null
7676
},
7777
{
7878
"name": "indexed_param_type_3",
79-
"type": "string",
80-
"default": ""
79+
"type": ["null", "string"],
80+
"default": null
8181
},
8282
{
8383
"name": "indexed_param_value_3",
84-
"type": "string",
85-
"default": ""
84+
"type": ["null", "string"],
85+
"default": null
8686
},
8787
{
8888
"name": "non_indexed_param_name_0",
89-
"type": "string",
90-
"default": ""
89+
"type": ["null", "string"],
90+
"default": null
9191
},
9292
{
9393
"name": "non_indexed_param_type_0",
94-
"type": "string",
95-
"default": ""
94+
"type": ["null", "string"],
95+
"default": null
9696
},
9797
{
9898
"name": "non_indexed_param_value_0",
99-
"type": "string",
100-
"default": ""
99+
"type": ["null", "string"],
100+
"default": null
101101
},
102102
{
103103
"name": "non_indexed_param_name_1",
104-
"type": "string",
105-
"default": ""
104+
"type": ["null", "string"],
105+
"default": null
106106
},
107107
{
108108
"name": "non_indexed_param_type_1",
109-
"type": "string",
110-
"default": ""
109+
"type": ["null", "string"],
110+
"default": null
111111
},
112112
{
113113
"name": "non_indexed_param_value_1",
114-
"type": "string",
115-
"default": ""
114+
"type": ["null", "string"],
115+
"default": null
116116
},
117117
{
118118
"name": "non_indexed_param_name_2",
119-
"type": "string",
120-
"default": ""
119+
"type": ["null", "string"],
120+
"default": null
121121
},
122122
{
123123
"name": "non_indexed_param_type_2",
124-
"type": "string",
125-
"default": ""
124+
"type": ["null", "string"],
125+
"default": null
126126
},
127127
{
128128
"name": "non_indexed_param_value_2",
129-
"type": "string",
130-
"default": ""
129+
"type": ["null", "string"],
130+
"default": null
131131
},
132132
{
133133
"name": "non_indexed_param_name_3",
134-
"type": "string",
135-
"default": ""
134+
"type": ["null", "string"],
135+
"default": null
136136
},
137137
{
138138
"name": "non_indexed_param_type_3",
139-
"type": "string",
140-
"default": ""
139+
"type": ["null", "string"],
140+
"default": null
141141
},
142142
{
143143
"name": "non_indexed_param_value_3",
144-
"type": "string",
145-
"default": ""
144+
"type": ["null", "string"],
145+
"default": null
146146
},
147147
{
148148
"name": "non_indexed_param_name_4",
149-
"type": "string",
150-
"default": ""
149+
"type": ["null", "string"],
150+
"default": null
151151
},
152152
{
153153
"name": "non_indexed_param_type_4",
154-
"type": "string",
155-
"default": ""
154+
"type": ["null", "string"],
155+
"default": null
156156
},
157157
{
158158
"name": "non_indexed_param_value_4",
159-
"type": "string",
160-
"default": ""
159+
"type": ["null", "string"],
160+
"default": null
161161
},
162162
{
163163
"name": "transactionHash",

src/main/resources/avro/FlatEventRecord.avsc

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -26,138 +26,138 @@
2626
},
2727
{
2828
"name": "indexed_param_name_0",
29-
"type": "string",
30-
"default": ""
29+
"type": ["null", "string"],
30+
"default": null
3131
},
3232
{
3333
"name": "indexed_param_type_0",
34-
"type": "string",
35-
"default": ""
34+
"type": ["null", "string"],
35+
"default": null
3636
},
3737
{
3838
"name": "indexed_param_value_0",
39-
"type": "string",
40-
"default": ""
39+
"type": ["null", "string"],
40+
"default": null
4141
},
4242
{
4343
"name": "indexed_param_name_1",
44-
"type": "string",
45-
"default": ""
44+
"type": ["null", "string"],
45+
"default": null
4646
},
4747
{
4848
"name": "indexed_param_type_1",
49-
"type": "string",
50-
"default": ""
49+
"type": ["null", "string"],
50+
"default": null
5151
},
5252
{
5353
"name": "indexed_param_value_1",
54-
"type": "string",
55-
"default": ""
54+
"type": ["null", "string"],
55+
"default": null
5656
},
5757
{
5858
"name": "indexed_param_name_2",
59-
"type": "string",
60-
"default": ""
59+
"type": ["null", "string"],
60+
"default": null
6161
},
6262
{
6363
"name": "indexed_param_type_2",
64-
"type": "string",
65-
"default": ""
64+
"type": ["null", "string"],
65+
"default": null
6666
},
6767
{
6868
"name": "indexed_param_value_2",
69-
"type": "string",
70-
"default": ""
69+
"type": ["null", "string"],
70+
"default": null
7171
},
7272
{
7373
"name": "indexed_param_name_3",
74-
"type": "string",
75-
"default": ""
74+
"type": ["null", "string"],
75+
"default": null
7676
},
7777
{
7878
"name": "indexed_param_type_3",
79-
"type": "string",
80-
"default": ""
79+
"type": ["null", "string"],
80+
"default": null
8181
},
8282
{
8383
"name": "indexed_param_value_3",
84-
"type": "string",
85-
"default": ""
84+
"type": ["null", "string"],
85+
"default": null
8686
},
8787
{
8888
"name": "non_indexed_param_name_0",
89-
"type": "string",
90-
"default": ""
89+
"type": ["null", "string"],
90+
"default": null
9191
},
9292
{
9393
"name": "non_indexed_param_type_0",
94-
"type": "string",
95-
"default": ""
94+
"type": ["null", "string"],
95+
"default": null
9696
},
9797
{
9898
"name": "non_indexed_param_value_0",
99-
"type": "string",
100-
"default": ""
99+
"type": ["null", "string"],
100+
"default": null
101101
},
102102
{
103103
"name": "non_indexed_param_name_1",
104-
"type": "string",
105-
"default": ""
104+
"type": ["null", "string"],
105+
"default": null
106106
},
107107
{
108108
"name": "non_indexed_param_type_1",
109-
"type": "string",
110-
"default": ""
109+
"type": ["null", "string"],
110+
"default": null
111111
},
112112
{
113113
"name": "non_indexed_param_value_1",
114-
"type": "string",
115-
"default": ""
114+
"type": ["null", "string"],
115+
"default": null
116116
},
117117
{
118118
"name": "non_indexed_param_name_2",
119-
"type": "string",
120-
"default": ""
119+
"type": ["null", "string"],
120+
"default": null
121121
},
122122
{
123123
"name": "non_indexed_param_type_2",
124-
"type": "string",
125-
"default": ""
124+
"type": ["null", "string"],
125+
"default": null
126126
},
127127
{
128128
"name": "non_indexed_param_value_2",
129-
"type": "string",
130-
"default": ""
129+
"type": ["null", "string"],
130+
"default": null
131131
},
132132
{
133133
"name": "non_indexed_param_name_3",
134-
"type": "string",
135-
"default": ""
134+
"type": ["null", "string"],
135+
"default": null
136136
},
137137
{
138138
"name": "non_indexed_param_type_3",
139-
"type": "string",
140-
"default": ""
139+
"type": ["null", "string"],
140+
"default": null
141141
},
142142
{
143143
"name": "non_indexed_param_value_3",
144-
"type": "string",
145-
"default": ""
144+
"type": ["null", "string"],
145+
"default": null
146146
},
147147
{
148148
"name": "non_indexed_param_name_4",
149-
"type": "string",
150-
"default": ""
149+
"type": ["null", "string"],
150+
"default": null
151151
},
152152
{
153153
"name": "non_indexed_param_type_4",
154-
"type": "string",
155-
"default": ""
154+
"type": ["null", "string"],
155+
"default": null
156156
},
157157
{
158158
"name": "non_indexed_param_value_4",
159-
"type": "string",
160-
"default": ""
159+
"type": ["null", "string"],
160+
"default": null
161161
},
162162
{
163163
"name": "transactionHash",

0 commit comments

Comments
 (0)