{"action":"created","issue":{"url":"https://api.github.com/repos/linkedin/Burrow/issues/363","repository_url":"https://api.github.com/repos/linkedin/Burrow","labels_url":"https://api.github.com/repos/linkedin/Burrow/issues/363/labels{/name}","comments_url":"https://api.github.com/repos/linkedin/Burrow/issues/363/comments","events_url":"https://api.github.com/repos/linkedin/Burrow/issues/363/events","html_url":"https://github.com/linkedin/Burrow/pull/363","id":299958437,"number":363,"title":"Allow environment variables to be used for configuration","user":{"login":"rconn01","id":2395469,"avatar_url":"https://avatars1.githubusercontent.com/u/2395469?v=4","gravatar_id":"","url":"https://api.github.com/users/rconn01","html_url":"https://github.com/rconn01","followers_url":"https://api.github.com/users/rconn01/followers","following_url":"https://api.github.com/users/rconn01/following{/other_user}","gists_url":"https://api.github.com/users/rconn01/gists{/gist_id}","starred_url":"https://api.github.com/users/rconn01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rconn01/subscriptions","organizations_url":"https://api.github.com/users/rconn01/orgs","repos_url":"https://api.github.com/users/rconn01/repos","events_url":"https://api.github.com/users/rconn01/events{/privacy}","received_events_url":"https://api.github.com/users/rconn01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-24T17:45:03Z","updated_at":"2018-02-24T17:50:14Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/linkedin/Burrow/pulls/363","html_url":"https://github.com/linkedin/Burrow/pull/363","diff_url":"https://github.com/linkedin/Burrow/pull/363.diff","patch_url":"https://github.com/linkedin/Burrow/pull/363.patch"},"body":"This PR sets up viper to use environment variables as part of its config. By default all env vars need to be prefixed with `burrow`. If you want to change that you can use the `general.env-var-prefix` in your configuration to change the prefix.\r\n\r\n### Example\r\n\r\nIf you have the following configuration \r\n\r\n```toml\r\n[consumer.local]\r\nclass-name=\"kafka\"\r\ncluster=\"local\"\r\nclient-profile=\"test\"\r\ngroup-blacklist=\"^(console-consumer-|python-kafka-consumer-|quick-).*$\"\r\ngroup-whitelist=\"\"\r\n```\r\n\r\nyou can set the `servers` property by setting the\r\n\r\n```\r\nBURROR_CONSUMER_LOCAL_SERVERS=kafka01.example.com:10251\r\n```\r\n\r\nIf you don't like the `BURROW` prefix you can change that under\r\n\r\n```toml\r\n[general]\r\nenv-var-prefix=\"my-prefix\"\r\n```"},"comment":{"url":"https://api.github.com/repos/linkedin/Burrow/issues/comments/368246167","html_url":"https://github.com/linkedin/Burrow/pull/363#issuecomment-368246167","issue_url":"https://api.github.com/repos/linkedin/Burrow/issues/363","id":368246167,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars1.githubusercontent.com/u/2354108?v=4","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2018-02-24T17:50:14Z","updated_at":"2018-02-24T17:50:14Z","author_association":"NONE","body":"\n[![Coverage Status](https://coveralls.io/builds/15681027/badge)](https://coveralls.io/builds/15681027)\n\nCoverage remained the same at 73.963% when pulling **0964a0020b13616007ce24f1479990eae4085af0 on rconn01:envVars** into **5b546ccd387120ba416c49d15e5893ee5525e879 on linkedin:master**.\n"}}
{"actor":{"display_login":"coveralls"}}