diff --git a/kafka-topology/classic-models.yaml b/kafka-topology/classic-models.yaml index 36d605e..1548288 100644 --- a/kafka-topology/classic-models.yaml +++ b/kafka-topology/classic-models.yaml @@ -92,8 +92,39 @@ spec: - Write - Describe --- -# The Approvisionnement agent. Reads the catalog topic only — an agent whose job -# is stock has no business reading who paid what. +# The supply agent. Reads the catalog topic only — an agent whose job is stock +# has no business reading who paid what. +apiVersion: kafka.strimzi.io/v1 +kind: KafkaUser +metadata: + name: classic-models-agent-supply + namespace: kafka + labels: + strimzi.io/cluster: kafka +spec: + authentication: + type: scram-sha-512 + authorization: + type: simple + acls: + - resource: + type: topic + name: classic-models.catalog + patternType: literal + operations: + - Read + - Describe + - resource: + type: group + name: supply- + patternType: prefix + operations: + - Read + - Describe +--- +# The same account under its old French name, kept only until the consumer has +# moved to the one above. Delete it then — two accounts for one consumer is a +# second credential nobody is rotating. apiVersion: kafka.strimzi.io/v1 kind: KafkaUser metadata: