0.25 ACLs breaking change - patterns #1883
-
Hi,
And new version only specify "patterns" in the group section
How do I differentiate connect filters and topics filters ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You differentiate filters based on the role you link them to. The pub.* pattern is only linked to the topic-reader role, which is, according to its name, a role that gives access to topics, not connectors. If you do something like this groups:
reader-pub:
- role: topic-reader
patterns: [ "pub.*" ]
- role: connector-reader
patterns: [ "test.*" ] You will be able to apply 2 different patterns for topics and connectors (if the connector-reader role is defined correctly) |
Beta Was this translation helpful? Give feedback.
You differentiate filters based on the role you link them to. The pub.* pattern is only linked to the topic-reader role, which is, according to its name, a role that gives access to topics, not connectors. If you do something like this
You will be able to apply 2 different patterns for topics and connectors (if the connector-reader role is defined correctly)