-
Notifications
You must be signed in to change notification settings - Fork 45
/
dataux.conf
111 lines (99 loc) · 2.27 KB
/
dataux.conf
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
#
# dataux configuration example
#
supress_recover: true
# list of etcd servers [ "http://127.0.0.1:2379","http://127.0.0.1:2380"]
etcd = ["http://localhost:2379"]
# Nats.io GnatsD list of servers
# [ 'nats://10.240.134.116:4222', 'nats://10.145.147.112:4222' ]
nats = [ "nats://localhost:4222" ]
# FrontEnd is inbound tcp connection listener
# we don't bind to 3306 because that is mysql's
#
# mysql -h127.0.0.1 -P4000 -Ddatauxtest
#
frontends [
{
type : mysql
address : "127.0.0.1:4000"
}
]
# schemas: ie a virtual database made up of
# combining tables from each source into a flattened table
schemas : [
{
name : datauxtest
sources : [ "mgo_datauxtest", "es_test" ]
}
{
name : baseball
sources : [ "gcs_baseball_csv" ]
}
# {
# name : baseball_local
# sources : [ "local_baseball_csv" ]
# }
]
# sources
# - elasticsearch which uses example data from github, see tools/importgithub
# - cloud files w baseball csv files
# - mongo
#
sources : [
{
name : mgo_datauxtest
type : mongo
},
{
name : es_test
type : elasticsearch
},
{
# this section is a "CloudStorage" source for csv files
# stored on google-storage from
# http://seanlahman.com/baseball-archive/statistics/
name "gcs_baseball_csv"
type "cloudstore"
settings {
# types: "gcs","localfs"
type "gcs"
# google cloud storage bucket name, ie the gs://bucket-name
gcsbucket "lytics-dataux-tests"
# restrict to looking for files inside this folder on bucket
path "baseball/"
# format, csv, json, custom
format "csv"
}
}
{
name "local_baseball_csv"
type "cloudstore"
settings {
type "localfs"
path "/tmp/baseball/"
format "csv"
}
},
{
name : "gcs1"
type : "cloudstore"
settings : {
type : "gcs"
project : "myproject"
jwt : "/home/aaron/google-datastore/googlejwt.json"
}
},
]
# List of nodes hosting data sources
nodes : [
{
name : estest1
source : es_test
address : "http://localhost:9200"
},
{
name : mgotest1
source : mgo_datauxtest
address : "localhost"
}
]