tulios / kafkajs

A modern Apache Kafka client for node.js

Home Page:https://kafka.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When deleting ACL add the ability to delete only one subscriber

Kristian-LM opened this issue · comments

Is your feature request related to a problem? Please describe.
While interacting with a channel, it became necessary to delete not all subscribers, but only a one person.

Describe the solution you'd like
Will be cool to create a function admin.deleteAcl({ filters: [acl] }, principal_name), that would filter all found subscribers, leaving only the right one. In fact, the function will work identically as admin.deleteAcls({ filters: [acl] }), but with a filter by the "principal" field.

Additional context
-- empty --