You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deploying this project on Kafka cluster with existing users, we need a method to generate the Namespace from existing cluster data (topics, Acls, Connects, ...)
Create and Admin API endpoint to create the Namespace based on existing Kafka User, as well as a resource prefix
POST /admin/namespace/{namespace}/generate-view
{
"name": "ns_project1",
"kafkaUser": "user1",
"prefixOwner": "project1"
}
The text was updated successfully, but these errors were encountered:
twobeeb
added
the
refactor
The change is an optimisation of the code base without any functional changes
label
Mar 10, 2021
twobeeb
changed the title
**Admin API / Generate Namespace from existing KafkaUser**
Admin API / Generate Namespace from existing KafkaUser
Mar 10, 2021
Call th endpoint /api/namespaces/{namespace}/init/{user}, for example /api/namespaces/myNamespace/init/myNamespaceUser
This will create:
A Namespace resoource with default values for validators
A BindingRole resource with default values for roles
A list of AccessControlEntry resources for all existing topics and groups in the cluster, plus an AccessControlEntry with a prefixed Topic with namespace name (to be updated if necessary) and an AccesControlEntry with prefixed Connect whit namespace name (to be update is necessary)
When deploying this project on Kafka cluster with existing users, we need a method to generate the Namespace from existing cluster data (topics, Acls, Connects, ...)
Create and Admin API endpoint to create the Namespace based on existing Kafka User, as well as a resource prefix
The text was updated successfully, but these errors were encountered: