AdminClientService — AclCommandService of AclCommand with bootstrap-server Option

AdminClientService is the AclCommandService for AclCommand when executed with --bootstrap-server option.

Creating AdminClientService Instance

AdminClientService takes the following to be created:

  • AclCommandOptions

AdminClientService initializes the internal properties.

addAcls Method

addAcls(): Unit
Note
addAcls is part of the AclCommandService Contract to…​FIXME.

addAcls…​FIXME

listAcls Method

listAcls(): Unit
Note
listAcls is part of the AclCommandService Contract to…​FIXME.

listAcls…​FIXME

removeAcls Method

removeAcls(): Unit
Note
removeAcls is part of the AclCommandService Contract to…​FIXME.

removeAcls…​FIXME

withAdminClient Internal Method

withAdminClient(
  opts: AclCommandOptions)(
  f: Admin => Unit): Unit

withAdminClient loads the property file when specified using --command-config option.

withAdminClient creates a new AdminClient that is used as the input argument to execute the given f function.

In the end, withAdminClient requests the AdminClient to close.

Note
withAdminClient is used when AdminClientService is requested to add, list, and remove ACLs.

results matching ""

    No results matching ""