Kafka cluster multi-user access division and message sharing configuration guide

1. Scenario description

insert image description here
insert image description hereDue to multi-vendor integration and data sharing requirements, the on-site business needs to be connected to the current Kafka cluster. In order to achieve a function similar to tenant isolation, it is necessary to enable Kafka’s authority control and dynamic user management functions, so that different vendors can access authorized legal resources. Consumers Accounts can only consume data, and producer accounts can only produce data.
insert image description here

Literature reference : Kafka Chinese documentation ; stackoverflow. .

2. Control method

☛ Kafka permission classification:

❥ Authentication (Authentication): It is to authenticate the connection between the client and the server , to authenticate the connection between brokers and zookeeper (producer and consumer), other brokers, t

Guess you like

Origin blog.csdn.net/ximenjianxue/article/details/130335471