-
Notifications
You must be signed in to change notification settings - Fork 5
/
kafka-user.yaml
40 lines (40 loc) · 958 Bytes
/
kafka-user.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
apiVersion: kafka.strimzi.io/v1beta1
kind: KafkaUser
metadata:
name: user-demo
labels:
strimzi.io/cluster: demo
spec:
authentication:
type: tls
authorization:
type: simple
acls:
# Consumer ACLs for greetings topic using consumer group my-demo-group
- resource:
type: group
name: my-demo-group
patternType: literal
operation: Read
# Consumer ACLs
- resource:
type: topic
name: greetings
patternType: literal
operation: Read
- resource:
type: topic
name: greetings
patternType: prefix
operation: Describe
# Producer ACLs for greetings topic
- resource:
type: topic
name: greetings
patternType: literal
operation: Write
- resource:
type: topic
name: greetings
patternType: literal
operation: Create