Skip to content

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

Open
tcollinsworth wants to merge 1 commit into
oleksiyk:masterfrom
tcollinsworth:master
Open

export client for access to metadata for health-check#193
tcollinsworth wants to merge 1 commit into
oleksiyk:masterfrom
tcollinsworth:master

Conversation

@tcollinsworth
Copy link
Copy Markdown

No description provided.

@tcollinsworth
Copy link
Copy Markdown
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
Copy Markdown
Owner

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

@tcollinsworth
Copy link
Copy Markdown
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
Copy Markdown
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