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

export client for access to metadata for health-check #193

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

export client for access to metadata for health-check #193

wants to merge 1 commit into from

Conversation

tcollinsworth
Copy link

No description provided.

@tcollinsworth
Copy link
Author

tcollinsworth commented Aug 27, 2017

Maybe there is a way to import the client without exporting it in index, but I couldn't figure out how.

@oleksiyk
Copy link
Owner

I don't think it is a good idea to export Client low level methods. I can't merge this.

@tcollinsworth
Copy link
Author

I want to get the metadata for a topic which there is a method in client that does this metadataRequest(topics). What do you suggest as an option? I've already successfully implemented and tested my health-check, against the client.metadataRequest(topics) method. I'm still learning, is there some way to import the client directly, something like import 'no-kafka/client' which I tried but didn't work.

@oleksiyk
Copy link
Owner

I think you can import no-kafka/lib/client

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 this pull request may close these issues.

2 participants