{"action":"created","issue":{"url":"https://api.github.com/repos/oleksiyk/kafka/issues/35","repository_url":"https://api.github.com/repos/oleksiyk/kafka","labels_url":"https://api.github.com/repos/oleksiyk/kafka/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/oleksiyk/kafka/issues/35/comments","events_url":"https://api.github.com/repos/oleksiyk/kafka/issues/35/events","html_url":"https://github.com/oleksiyk/kafka/issues/35","id":140894452,"number":35,"title":"Reuse same Client instance","user":{"login":"Multiply","id":453031,"avatar_url":"https://avatars.githubusercontent.com/u/453031?v=3","gravatar_id":"","url":"https://api.github.com/users/Multiply","html_url":"https://github.com/Multiply","followers_url":"https://api.github.com/users/Multiply/followers","following_url":"https://api.github.com/users/Multiply/following{/other_user}","gists_url":"https://api.github.com/users/Multiply/gists{/gist_id}","starred_url":"https://api.github.com/users/Multiply/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Multiply/subscriptions","organizations_url":"https://api.github.com/users/Multiply/orgs","repos_url":"https://api.github.com/users/Multiply/repos","events_url":"https://api.github.com/users/Multiply/events{/privacy}","received_events_url":"https://api.github.com/users/Multiply/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-15T07:17:43Z","updated_at":"2016-03-16T07:10:10Z","closed_at":null,"body":"Would it be possible to implement the solution to reuse the Client instance between Consumer and Producers?\r\n\r\nFor example, right now I'm looking at the `topicMetadata` and need that before I can make one of my Consumers, so I thought it'd be nice to simply make a new Client, wait for it to init, and grab the metadata, and then reuse the same client for my new Consumer."},"comment":{"url":"https://api.github.com/repos/oleksiyk/kafka/issues/comments/197188960","html_url":"https://github.com/oleksiyk/kafka/issues/35#issuecomment-197188960","issue_url":"https://api.github.com/repos/oleksiyk/kafka/issues/35","id":197188960,"user":{"login":"Multiply","id":453031,"avatar_url":"https://avatars.githubusercontent.com/u/453031?v=3","gravatar_id":"","url":"https://api.github.com/users/Multiply","html_url":"https://github.com/Multiply","followers_url":"https://api.github.com/users/Multiply/followers","following_url":"https://api.github.com/users/Multiply/following{/other_user}","gists_url":"https://api.github.com/users/Multiply/gists{/gist_id}","starred_url":"https://api.github.com/users/Multiply/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Multiply/subscriptions","organizations_url":"https://api.github.com/users/Multiply/orgs","repos_url":"https://api.github.com/users/Multiply/repos","events_url":"https://api.github.com/users/Multiply/events{/privacy}","received_events_url":"https://api.github.com/users/Multiply/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T07:10:10Z","updated_at":"2016-03-16T07:10:10Z","body":"I opted to simply use multiple clients for now, so that might be good. I assumed everything was isolated nicely, so reusing connections wouldn't be too troublesome. You can close this, if it's not on the board or a wishlist. :)"}}