This repository has been archived by the owner on Sep 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample.yaml
76 lines (65 loc) · 1.89 KB
/
example.yaml
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
generator:
seed: glorious-potato
kafka:
brokers:
- kafka1.example.com:9092
- kafka2.example.com:9092
- kafka3.example.com:9092
topic: maxwell-fake
mysql:
schemas:
store-records:
databases:
- store_records_tycoon
- store_records_initech
tables:
customers:
store_records_tycoon:
size: 10e6
insert-rate: 100 / second
update-rate: 20 / second
delete-rate: 20 / second
store_records_initech:
size: 2e6
insert-rate: 20 / second
update-rate: 4 / second
delete-rate: 4 / second
template:
id: integer[primary-key]
name: string[4,8]
loyalty_points: float[0,100]
last_transaction: date?
date_of_birth: date-time?
status: enum[active,expired,inactive]?
shoe_size: integer[8,25]?
orders:
store_records_tycoon:
size: 50e3
insert-rate: 50 / second
update-rate: 10 / second
delete-rate: 10 / second
store_records_initech:
size: 10e3
insert-rate: 10 / second
update-rate: 2 / second
delete-rate: 2 / second
template:
id: integer[primary-key]
customer: foreign-key[customers]
amount: integer[0,100]
item_id: foreign-key[items]
items:
store_records_tycoon:
size: 5
insert-rate: 10 / second
update-rate: 5 / second
delete-rate: 5 / second
store_records_initech:
size: 5
insert-rate: 10 / second
update-rate: 5 / second
delete-rate: 5 / second
template:
id: integer[primary-key]
name: string[10,20]
price: float[0,10e6]