Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for AdminAPI DescribeCluster() and DescribeTopics() #614

Open
dkirrane opened this issue Oct 15, 2023 · 0 comments · May be fixed by #721
Open

Add support for AdminAPI DescribeCluster() and DescribeTopics() #614

dkirrane opened this issue Oct 15, 2023 · 0 comments · May be fixed by #721

Comments

@dkirrane
Copy link

dkirrane commented Oct 15, 2023

I'm looking for the rust equivalent of the Java org.apache.kafka.clients.admin.AdminClient API

            adminClient
                .describeCluster(
                    new DescribeClusterOptions()
                        .timeoutMs((int) Math.min(Integer.MAX_VALUE, remainingWaitMs)))
                .nodes()
                .get();

and

        adminClient.describeTopics(
            topicNames, new DescribeTopicsOptions().timeoutMs(Math.toIntExact(timeoutMs)));

It looks like it's available in librdkafka now via this commit
https://github.com/confluentinc/librdkafka/pull/4240/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant