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

RFC: Make Client accessible from ClusterAdmin #1448

Closed
chasewalden opened this issue Aug 5, 2019 · 2 comments
Closed

RFC: Make Client accessible from ClusterAdmin #1448

chasewalden opened this issue Aug 5, 2019 · 2 comments

Comments

@chasewalden
Copy link

The Client should be accessible from ClusterAdmin.

The ClusterAdmin interface should either expose a Client() *Client function or the ClusterAdmin should compose the Client interface. A third option would be create a NewClusterAdminFromClient(client *Client) (*ClusterAdmin, error) function which would allow the user to reuse the existing Client

I have written an application that requires me to get all topics from the cluster and differentiate internal from "normal" topics. 95% of all my needs are filled by the Client, but getting Topic Metadata is only accomplished by the ClusterAdmin. It doesn't make a ton of sense for me to open two clients: one that I can use and the internal one opened by the ClusterAdmin.

@varun06
Copy link
Contributor

varun06 commented Aug 8, 2019

Does this work for you -> #1415 ?

@chasewalden
Copy link
Author

chasewalden commented Aug 8, 2019 via email

@varun06 varun06 closed this as completed Aug 9, 2019
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

No branches or pull requests

2 participants