Methods
close
- close(): Promise<null>
-
Returns Promise<null>
getPartitionsForTopic
- getPartitionsForTopic(topic: string): Promise<string[]>
-
Returns Promise<string[]>
Static
setLogHandler
- setLogHandler(logHandler: ((level: LogLevel, file: string, line: number, message: string) => void)): void
-
Parameters
-
logHandler: ((level: LogLevel, file: string, line: number, message: string) => void)
-
- (level: LogLevel, file: string, line: number, message: string): void
-
Parameters
-
-
file: string
-
line: number
-
message: string
Returns void
Returns void