{"action":"created","issue":{"url":"https://api.github.com/repos/Shopify/sarama/issues/274","labels_url":"https://api.github.com/repos/Shopify/sarama/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/sarama/issues/274/comments","events_url":"https://api.github.com/repos/Shopify/sarama/issues/274/events","html_url":"https://github.com/Shopify/sarama/issues/274","id":57797177,"number":274,"title":"Don't get metadata of all topics during startup?","user":{"login":"wvanbergen","id":15870,"avatar_url":"https://avatars.githubusercontent.com/u/15870?v=3","gravatar_id":"","url":"https://api.github.com/users/wvanbergen","html_url":"https://github.com/wvanbergen","followers_url":"https://api.github.com/users/wvanbergen/followers","following_url":"https://api.github.com/users/wvanbergen/following{/other_user}","gists_url":"https://api.github.com/users/wvanbergen/gists{/gist_id}","starred_url":"https://api.github.com/users/wvanbergen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wvanbergen/subscriptions","organizations_url":"https://api.github.com/users/wvanbergen/orgs","repos_url":"https://api.github.com/users/wvanbergen/repos","events_url":"https://api.github.com/users/wvanbergen/events{/privacy}","received_events_url":"https://api.github.com/users/wvanbergen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Shopify/sarama/labels/client","name":"client","color":"fbca04"},{"url":"https://api.github.com/repos/Shopify/sarama/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/Shopify/sarama/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-16T12:14:14Z","updated_at":"2015-11-18T21:02:58Z","closed_at":"2015-11-17T14:46:24Z","body":"Right now, when you open a Sarama client it will retrieve the metadata of all topics in the cluster. Often this is not needed, e.g. when only consuming events from a single topic.\r\n\r\nAs the number of partitions in a cluster grows, the memory requirements for storing the metadata will go up. Is it worth it to fix this?"},"comment":{"url":"https://api.github.com/repos/Shopify/sarama/issues/comments/157862592","html_url":"https://github.com/Shopify/sarama/issues/274#issuecomment-157862592","issue_url":"https://api.github.com/repos/Shopify/sarama/issues/274","id":157862592,"user":{"login":"eapache","id":1706826,"avatar_url":"https://avatars.githubusercontent.com/u/1706826?v=3","gravatar_id":"","url":"https://api.github.com/users/eapache","html_url":"https://github.com/eapache","followers_url":"https://api.github.com/users/eapache/followers","following_url":"https://api.github.com/users/eapache/following{/other_user}","gists_url":"https://api.github.com/users/eapache/gists{/gist_id}","starred_url":"https://api.github.com/users/eapache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eapache/subscriptions","organizations_url":"https://api.github.com/users/eapache/orgs","repos_url":"https://api.github.com/users/eapache/repos","events_url":"https://api.github.com/users/eapache/events{/privacy}","received_events_url":"https://api.github.com/users/eapache/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T21:02:58Z","updated_at":"2015-11-18T21:02:58Z","body":"The majority of metadata reads (except the initial one and the background timer) are scoped to the topic(s) they care about, and should completely ignore everything else."}}