)]}'
{"monsetup/detection/plugins/kafka_consumer.py":[{"author":{"_account_id":12108,"name":"Gary Hessler","email":"gary.hessler@hp.com","username":"garyh"},"change_message_id":"380366ab4f6c98b4553e5f586bf42acb92e92a76","unresolved":false,"context_lines":[{"line_number":111,"context_line":"        if self.dependencies_installed() and self.zk_url is not None:"},{"line_number":112,"context_line":"            self._detect_consumers()"},{"line_number":113,"context_line":"        else:"},{"line_number":114,"context_line":"            log.warning(\"Dependencies not installed, skipping plugin configuration.\")"},{"line_number":115,"context_line":"        return self.config"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"    def dependencies_installed(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"9aa7fdbe_b2bffefb","line":114,"updated":"2014-10-28 22:54:51.000000000","message":"It would probably be useful to call out what the dependencies are for the plugin in the warning message.  Otherwise, they would have to look at the code to determine that.","commit_id":"8e2f11464d87d39f5bf8a8b462971e11364451fe"},{"author":{"_account_id":12108,"name":"Gary Hessler","email":"gary.hessler@hp.com","username":"garyh"},"change_message_id":"380366ab4f6c98b4553e5f586bf42acb92e92a76","unresolved":false,"context_lines":[{"line_number":118,"context_line":"        try:"},{"line_number":119,"context_line":"            import kafka"},{"line_number":120,"context_line":"            import kazoo"},{"line_number":121,"context_line":"        except ImportError:"},{"line_number":122,"context_line":"            return False"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"        return True"}],"source_content_type":"text/x-python","patch_set":2,"id":"9aa7fdbe_f2e2662e","line":121,"updated":"2014-10-28 22:54:51.000000000","message":"It doesn\u0027t look like the chef cookbook installs the kazoo dependency for monasca-vagrant.  You will have to add it to the agent chef recipe or to the requirements.txt file.  The chef recipe would probably be the preferred method as we probably don\u0027t want to put Kazoo on all the boxes that the agent is installed on.","commit_id":"8e2f11464d87d39f5bf8a8b462971e11364451fe"}]}
