{"action":"opened","issue":{"url":"https://api.github.com/repos/doujiang24/lua-resty-kafka/issues/5","labels_url":"https://api.github.com/repos/doujiang24/lua-resty-kafka/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/doujiang24/lua-resty-kafka/issues/5/comments","events_url":"https://api.github.com/repos/doujiang24/lua-resty-kafka/issues/5/events","html_url":"https://github.com/doujiang24/lua-resty-kafka/issues/5","id":54436564,"number":5,"title":"no resolver defined to resolve \"name\"","user":{"login":"esha-","id":5619346,"avatar_url":"https://avatars.githubusercontent.com/u/5619346?v=3","gravatar_id":"","url":"https://api.github.com/users/esha-","html_url":"https://github.com/esha-","followers_url":"https://api.github.com/users/esha-/followers","following_url":"https://api.github.com/users/esha-/following{/other_user}","gists_url":"https://api.github.com/users/esha-/gists{/gist_id}","starred_url":"https://api.github.com/users/esha-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esha-/subscriptions","organizations_url":"https://api.github.com/users/esha-/orgs","repos_url":"https://api.github.com/users/esha-/repos","events_url":"https://api.github.com/users/esha-/events{/privacy}","received_events_url":"https://api.github.com/users/esha-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-15T11:01:11Z","updated_at":"2015-01-15T11:01:11Z","closed_at":null,"body":"Hello! Mey be you can help me.\r\nI have some producer:\r\n```\r\n local broker_list = {\r\n    { host = \"127.0.0.1\", port = 9092 }\r\n }\r\nlocal p = producer:new(broker_list)\r\nlocal key = \"key\"\r\nlocal mess = \"hi\"\r\nlocal offset, err = p:send('test', key, mess)\r\n```\r\nI get responce:\r\n`no resolver defined to resolve \"esha\"`\r\nI searched about nginx resolver, but \r\nnot solve my problem.\r\nIn my /etc/resolv.conf:\r\n`nameserver 127.0.1.1`\r\nIn my /etc/hosts:\r\n```\r\n127.0.0.1   localhost\r\n::1         localhost\r\n27.0.1.1   esha\r\n```\r\nWhere \"esha\" in error? If i have \"localhost\" in broker list ?\r\n\r\nNow, i solve problem use \"stub\" in /producer.lua:\r\n```\r\n129     local config = brokers[leader]\r\n130     \r\n131     config.host = \"127.0.0.1\"\r\n132     local bk = broker:new(config.host, config.port, self.socket_config)\r\n133     self.producer_brokers[leader] = bk\r\n134     \r\n135     return bk\r\n```\r\nWhat would you recommend?"}}