Der Service `cli` lädt Avro-Testdaten in das Topic `test`
[demos/kafka/training] / docker / movie.avsc
1 {
2   "namespace": "de.trion.avro",
3   "type": "record",
4   "name": "Movie",
5   "fields": [
6     {
7       "name": "movie_id",
8       "type": "long"
9     },
10     {
11       "name": "title",
12       "type": "string"
13     },
14     {
15       "name": "release_year",
16       "type": "int"
17     },
18     {
19       "name": "country",
20       "type": "string"
21     },
22     {
23       "name": "rating",
24       "type": "double"
25     },
26     {
27       "name": "genres",
28       "type": {
29         "type": "array",
30         "items": "string"
31       }
32     },
33     {
34       "name": "actors",
35       "type": {
36         "type": "array",
37         "items": "string"
38       }
39     },
40     {
41       "name": "directors",
42       "type": {
43         "type": "array",
44         "items": "string"
45       }
46     },
47     {
48       "name": "composers",
49       "type": {
50         "type": "array",
51         "items": "string"
52       }
53     },
54     {
55       "name": "screenwriters",
56       "type": {
57         "type": "array",
58         "items": "string"
59       }
60     },
61     {
62       "name": "cinematographer",
63       "type": "string"
64     },
65     {
66       "name": "production_companies",
67       "type": {
68         "type": "array",
69         "items": "string"
70       }
71     }
72   ]
73 }