{"action":"opened","issue":{"url":"https://api.github.com/repos/dpkp/kafka-python/issues/563","repository_url":"https://api.github.com/repos/dpkp/kafka-python","labels_url":"https://api.github.com/repos/dpkp/kafka-python/issues/563/labels{/name}","comments_url":"https://api.github.com/repos/dpkp/kafka-python/issues/563/comments","events_url":"https://api.github.com/repos/dpkp/kafka-python/issues/563/events","html_url":"https://github.com/dpkp/kafka-python/issues/563","id":135507854,"number":563,"title":"messages not delivering from producer","user":{"login":"rakesh91","id":1933540,"avatar_url":"https://avatars.githubusercontent.com/u/1933540?v=3","gravatar_id":"","url":"https://api.github.com/users/rakesh91","html_url":"https://github.com/rakesh91","followers_url":"https://api.github.com/users/rakesh91/followers","following_url":"https://api.github.com/users/rakesh91/following{/other_user}","gists_url":"https://api.github.com/users/rakesh91/gists{/gist_id}","starred_url":"https://api.github.com/users/rakesh91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakesh91/subscriptions","organizations_url":"https://api.github.com/users/rakesh91/orgs","repos_url":"https://api.github.com/users/rakesh91/repos","events_url":"https://api.github.com/users/rakesh91/events{/privacy}","received_events_url":"https://api.github.com/users/rakesh91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-22T18:55:23Z","updated_at":"2016-02-22T18:55:23Z","closed_at":null,"body":"Hi,\r\nI just started working with kafka, as part of it, I have created a single node kafka using quickstart tutorial.\r\nBut, I am not able to send messages from producer to consumer using python code.\r\n\r\nproducer.py\r\n\r\nfrom kafka import KafkaProducer\r\nproducer = KafkaProducer(bootstrap_servers=['localhost:9092'])\r\nprint producer.send('foobar', b'some_message_bytes')\r\n\r\nconsumer.py\r\n\r\nfrom kafka import KafkaConsumer\r\nconsumer = KafkaConsumer('foobar')\r\nfor msg in consumer:\r\n        print (msg)\r\n\r\nkafka-python==1.0.1\r\npython : 2.6.6\r\nkafka: 0.9.0.1\r\n\r\nWhat is the issue? Please help.\r\nThank you\r\n"}}