forked from hpcjmart/kafka-kafdrop-example-ha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
trades.avsc
55 lines (55 loc) · 1.22 KB
/
trades.avsc
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
{
"type" : "record",
"name" : "message",
"namespace" : "FinnhubProducer",
"fields" : [ {
"name" : "data",
"type" : {
"type" : "array",
"items" : {
"type" : "record",
"name" : "data",
"fields" : [ {
"name" : "c",
"type":[
{
"type":"array",
"items":["null","string"],
"default":[]
},
"null"
],
"doc" : "Trade conditions"
},
{
"name" : "p",
"type" : "double",
"doc" : "Price at which the stock was traded"
},
{
"name" : "s",
"type" : "string",
"doc" : "Symbol of a stock"
},
{
"name" : "t",
"type" : "long",
"doc" : "Timestamp at which the stock was traded"
},
{
"name" : "v",
"type" : "double",
"doc" : "Volume at which the stock was traded"
} ]
},
"doc" : "Trades messages"
},
"doc" : "Contains data inside a message"
},
{
"name" : "type",
"type" : "string",
"doc" : "Type of message"
} ],
"doc" : "A schema for upcoming Finnhub messages"
}