confluentinc / confluent-kafka-javascript

Confluent's Apache Kafka JavaScript client
https://www.npmjs.com/package/@confluentinc/kafka-javascript
MIT License
92 stars 5 forks source link

Add admin API operations to promisified and non-promisified API #28

Open milindl opened 4 months ago

milindl commented 4 months ago

For example: listing topics, ACL operations, consumer group operations, consumer group offset operations.

milindl commented 3 months ago

Added: ListGroups to list consumer groups

milindl commented 2 months ago

Added: DeleteGroups and DescribeGroups Added: ListTopics

brunodomenici commented 2 months ago

+1 for describeGroup. We use this function to health check the consumer. Any idea how to do it without this function?

milindl commented 2 months ago

@brunodomenici , the function is already available in the released version of the library which you can download off npm.

Unfortunately I've not added an example yet, but the usage can be seen in the test: https://github.com/confluentinc/confluent-kafka-javascript/blob/v0.1.12-devel/test/promisified/admin/describe_groups.spec.js#L71