-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathreference.conf
108 lines (93 loc) · 3.03 KB
/
reference.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
rokku {
# Default interface and port to listen on.
http {
bind = "127.0.0.1"
port = 8987
}
access-control {
allow-list-buckets = true
allow-create-delete-buckets = true
enabled-audit = false
class-name = "com.ing.wbaa.rokku.proxy.provider.AccessControlProviderRanger"
plugin-params = "{appId:testservice, serviceType:s3, rolePrefix:role_}"
}
storage.s3 {
# Settings for reaching backing storage.
host = "127.0.0.1"
port = 8010
schema = "http"
admin {
accesskey = "accesskey"
secretkey = "secretkey"
}
region = "us-east-1"
v2SignatureEnabled = false
# To add more then one code, seperate them with comma
slowdownCodes = "502, 503"
healthCheck {
# can be one of:
# s3ListBucket - uses AWS S3 client to list single bucket
method = "s3ListBucket"
interval = 5000
bucketName = "rokku_hc_bucket"
}
}
sts {
uri = "http://127.0.0.1:12345"
encodeSecret = "jwtprivatekey"
cache.ttlInSeconds = 5
}
kerberos {
keytab = ""
principal = ""
}
bucketNotificationEnabled = false
auditEnable = false
storage.s3.request.queue {
enable = false
size = 100
max.size.to.block.in.percent = 80
}
namespaces {
enable = false
env.var.credentials.prefix = "NAMESPACE_S3_CREDENTIALS_" # key is namespace name and value is accesskey,secretkey (separated by comma)
}
}
akka {
loggers = ["akka.event.slf4j.Slf4jLogger"]
loglevel = "DEBUG"
logging-filter = "akka.event.slf4j.Slf4jLoggingFilter"
http {
# quiases aws illegal warnings for "/" in authorization header
server.parsing.illegal-header-warnings = off
# Enable remote address header to find origin of request
server.remote-address-header = on
# we need to disable head to get translation
server.transparent-head-requests = off
# loosens parsing headers settings, letting us to parse AWS headers properly
# raw-request is used for AWS signature process, skip akka parsing
server.raw-request-uri-header = on
server.parsing.modeled-header-parsing = off
client.parsing.modeled-header-parsing = off
client.user-agent-header = ""
host-connection-pool.response-entity-subscription-timeout = 5.seconds
}
}
kafka.producer {
# A comma-separated list of host/port pairs to use for establishing the initial connection to the Kafka cluster
bootstrapServers = "kafka:9092"
protocol = "PLAINTEXT"
createTopic = "create_events"
deleteTopic = "delete_events"
auditTopic = "audit_events"
retries = 3
backoff = 3000
backoffMax = 3000
requestTimeoutMs = 300000
maxblock = 1000
ssl.truststore.location = ""
ssl.truststore.password = ""
ssl.keystore.location = ""
ssl.keystore.password = ""
ssl.key.password = ""
}