{"action":"closed","issue":{"url":"https://api.github.com/repos/dpkp/kafka-python/issues/479","labels_url":"https://api.github.com/repos/dpkp/kafka-python/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/dpkp/kafka-python/issues/479/comments","events_url":"https://api.github.com/repos/dpkp/kafka-python/issues/479/events","html_url":"https://github.com/dpkp/kafka-python/issues/479","id":119749754,"number":479,"title":"Question about producing in bulk","user":{"login":"DataEngg","id":9280169,"avatar_url":"https://avatars.githubusercontent.com/u/9280169?v=3","gravatar_id":"","url":"https://api.github.com/users/DataEngg","html_url":"https://github.com/DataEngg","followers_url":"https://api.github.com/users/DataEngg/followers","following_url":"https://api.github.com/users/DataEngg/following{/other_user}","gists_url":"https://api.github.com/users/DataEngg/gists{/gist_id}","starred_url":"https://api.github.com/users/DataEngg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataEngg/subscriptions","organizations_url":"https://api.github.com/users/DataEngg/orgs","repos_url":"https://api.github.com/users/DataEngg/repos","events_url":"https://api.github.com/users/DataEngg/events{/privacy}","received_events_url":"https://api.github.com/users/DataEngg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-12-01T16:07:35Z","updated_at":"2016-01-27T21:09:59Z","closed_at":"2016-01-27T21:09:59Z","body":"Unable to send bulk messages to kafka server using kafka-python code. My requirement is to send messages in batch to kafka server but unable to send.\r\n\r\nI need a help how should I able to send a bulk messages to kafka server using kafka-python. I read the documentation but it does have much of the information and example how to send the bulk messages.\r\n\r\nCan anyone help me out from this?\r\n\r\nI tried with create_message_set and created a set of messages but when i send the created set of message using producer.send_message(topic,message), i got an error raise TypeError(\"all produce message payloads must be type bytes\"). Please help me out  \r\n\r\nI am using Python 2.7 and  Kafka 0.8.2.1\r\n  "}}