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
Copy file name to clipboardExpand all lines: lib/admin.js
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -84,8 +84,11 @@ function createAdminClient(conf, eventHandlers) {
84
84
*
85
85
* This is a factory method because it immediately starts an
86
86
* active handle with the brokers.
87
+
*
88
+
* The producer or consumer being used must be connected.
89
+
* The client can only be used while the producer or consumer is connected.
90
+
* Logging and other events from this client will be emitted on the producer or consumer.
87
91
* @param {import('../types/rdkafka').Producer | import('../types/rdkafka').KafkaConsumer} existingClient a producer or consumer to create the admin client from
88
-
* It must be connected.
89
92
* @param {object} eventHandlers optional key value pairs of event handlers to attach to the client
0 commit comments