-
-
Notifications
You must be signed in to change notification settings - Fork 647
/
application.yml
172 lines (162 loc) · 4.22 KB
/
application.yml
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
micronaut:
application:
name: akhq
io:
watch:
paths: src/main
restart: false # enabled dev server with env vars MICRONAUT_IO_WATCH_RESTART=true
server:
thread-selection: AUTO
max-request-size: 10MB
read-idle-timeout: 10m
write-idle-timeout: 10m
idle-timeout: 10m
netty:
max-chunk-size: 10MB
router:
static-resources:
react:
paths: classpath:ui
mapping: "/ui/**"
static:
paths: classpath:static
mapping: "/static/**"
swagger:
paths: classpath:META-INF/swagger
mapping: "/swagger/**"
security:
enabled: false
authentication: cookie
endpoints:
login:
path: "/login"
logout:
path: "/logout"
get-allowed: true
token:
jwt:
enabled: true
cookie:
enabled: true
cookie-same-site: strict
signatures:
secret:
generator:
secret: "pleasechangeme!pleasechangeme!pleasechangeme!pleasechangeme!pleasechangeme!pleasechangeme!pleasechangeme!pleasechangeme!pleasechangeme!pleasechangeme!pleasechangeme!pleasechangeme!pleasechangeme!pleasechangeme!pleasechangeme!pleasechangeme!"
redirect:
login-success: "${micronaut.server.context-path:}/ui"
forbidden:
url: "${micronaut.server.context-path:}/ui/login/forbidden"
unauthorized:
url: "${micronaut.server.context-path:}/ui/login/unauthorized"
login-failure: "${micronaut.server.context-path:}/ui/login/failed"
logout: "${micronaut.server.context-path:}/ui"
intercept-url-map:
- pattern: "${micronaut.server.context-path:}/ui/**"
access: "isAnonymous()"
- pattern: "${micronaut.server.context-path:}/static/**"
access: "isAnonymous()"
- pattern: "${micronaut.server.context-path:}/swagger/**"
access: "isAnonymous()"
oauth2:
login-uri: "${micronaut.server.context-path:}/oauth/login{/provider}"
callback-uri: "${micronaut.server.context-path:}/oauth/callback{/provider}"
caches:
kafka-wrapper:
record-stats: true
expire-after-write: 0s
jackson:
serialization:
writeDatesAsTimestamps: false
endpoints:
all:
port: 28081
enabled: true
sensitive: false
health:
details-visible: ANONYMOUS
loggers:
write-sensitive: false
akhq:
server:
access-log:
enabled: true
name: org.akhq.log.access
format: "[Date: {}] [Duration: {} ms] [Url: {} {}] [Status: {}] [Ip: {}] [User: {}]"
filters:
- "((?!/health).)*"
clients-defaults:
consumer:
properties:
max.poll.records: 50
isolation.level: read_committed
# group.id: Akhq
enable.auto.commit: "false"
default.api.timeout.ms: 15000
pagination:
page-size: 25
threads: 16
avro-serializer:
json.serialization.inclusions:
- NON_NULL
topic:
replication: 1
retention: 86400000
partition: 1
internal-regexps:
- "^_.*$"
- "^.*_schemas$"
- "^.*connect-config$"
- "^.*connect-offsets$1"
- "^.*connect-status$"
stream-regexps:
- "^.*-changelog$"
- "^.*-repartition$"
- "^.*-rekey$"
topic-data:
size: 50
poll-timeout: 1000
kafka-max-message-length: 1000000
security:
default-group: admin
groups:
admin:
name: admin
roles:
- topic/read
- topic/insert
- topic/delete
- topic/config/update
- node/read
- node/config/update
- topic/data/read
- topic/data/insert
- topic/data/delete
- group/read
- group/delete
- group/offsets/update
- group/offsets/delete
- registry/read
- registry/insert
- registry/update
- registry/delete
- registry/version/delete
- acls/read
- connect/read
- connect/insert
- connect/update
- connect/delete
- connect/state/update
reader:
name: reader
roles:
- topic/read
- node/read
- topic/data/read
- group/read
- registry/read
- acls/read
- connect/read
no-roles:
name: no-roles
roles: []