forked from SourceLabOrg/kafka-webview
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yml
67 lines (51 loc) · 2.26 KB
/
config.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
server:
## What port to run the service on.
port: 8080
servlet:
session:
## User login session timeout after 1 hour (3600 seconds)
timeout: 3600
## Various App Configs
app:
## Should be unique to your installation.
## This key will be used for symmetric encryption of JKS/TrustStore secrets if you configure any SSL enabled Kafka clusters.
key: "SuperSecretKey"
## Defines a prefix prepended to the Id of all consumers.
consumerIdPrefix: "KafkaWebViewConsumer"
## Sets upper limit on the number of concurrent web socket consumers supported.
maxConcurrentWebSocketConsumers: 64
## Require SSL
requireSsl: false
## User authentication options
user:
## Require user authentication
## Setting to false will disable login requirement.
enabled: true
## Optional: if you want to use LDAP for user authentication instead of locally defined users.
ldap:
## Disabled by default.
enabled: false
## URL/Hostname for your LDAP server
url: "ldap://localhost:8389/dc=example,dc=org"
## Example values defined below, adjust as needed.
## How to find user records
userDnPattern: "uid={0},ou=people"
## The attribute in which the password is stored.
passwordAttribute: "userPassword"
## Where to find user group membership
groupSearchBase: "ou=groups"
groupRoleAttribute: "cn"
## How passwords are validated, must implement PasswordEncoder interface
passwordEncoderClass: "org.springframework.security.crypto.password.LdapShaPasswordEncoder"
## Comma separated list of groups. A user which is a member of this group will be granted
## administrator access to Kafka WebView.
adminGroups: "ADMINGROUP1,ADMINGROUP2"
## Comma separated list of groups. A user which is a member of this group will be granted
## standard user level access to Kafka WebView.
userGroups: "USERGROUP1,USERGROUP2"
## Any user who is not a member of at least one of the above groups will be denied access
## to Kafka WebView.
## If LDAP does not allow anonymous access, define the user/password to connect using.
## If not required, leave both fields empty
bindUser: "cn=ManagementUser"
bindUserPassword: "password-here"