@midwayjs/kafkaClassesKafkaAdminFactory版本:Next本页总览KafkaAdminFactory HierarchyServiceFactory<Admin>KafkaAdminFactoryIndex ConstructorsconstructorPropertiesadminConfigloggerMethodscreateInstancedestroydestroyClientgetgetClientKeysgetClientPrioritygetClientsgetDefaultClientNamegetNamehasinitisHighPriorityisLowPriorityisMediumPrioritystopConstructors constructornew KafkaAdminFactory(): KafkaAdminFactoryProperties adminConfigadminConfig: ServiceFactoryConfigOption<IMidwayKafkaProducerInitOptions>loggerlogger: ILoggerMethods createInstancecreateInstance(config: any, clientName?: any): Promise<Admin>destroydestroy(): Promise<void>destroyClientdestroyClient(admin: Admin, name: string): Promise<void>getget<U>(id?: string): UType parametersU = AdmingetClientKeysgetClientKeys(): string[]getClientPrioritygetClientPriority(name: string): stringgetClientsgetClients(): Map<string, Admin>getDefaultClientNamegetDefaultClientName(): stringgetNamegetName(): stringhashas(id: string): booleaninitinit(): Promise<void>isHighPriorityisHighPriority(name: string): booleanisLowPriorityisLowPriority(name: string): booleanisMediumPriorityisMediumPriority(name: string): booleanstopstop(): Promise<void>