{"action":"opened","issue":{"url":"https://api.github.com/repos/SOHU-Co/kafka-node/issues/142","labels_url":"https://api.github.com/repos/SOHU-Co/kafka-node/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/SOHU-Co/kafka-node/issues/142/comments","events_url":"https://api.github.com/repos/SOHU-Co/kafka-node/issues/142/events","html_url":"https://github.com/SOHU-Co/kafka-node/issues/142","id":55138092,"number":142,"title":"Support consuming binary messages","user":{"login":"hpihkala","id":1263120,"avatar_url":"https://avatars.githubusercontent.com/u/1263120?v=3","gravatar_id":"","url":"https://api.github.com/users/hpihkala","html_url":"https://github.com/hpihkala","followers_url":"https://api.github.com/users/hpihkala/followers","following_url":"https://api.github.com/users/hpihkala/following{/other_user}","gists_url":"https://api.github.com/users/hpihkala/gists{/gist_id}","starred_url":"https://api.github.com/users/hpihkala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpihkala/subscriptions","organizations_url":"https://api.github.com/users/hpihkala/orgs","repos_url":"https://api.github.com/users/hpihkala/repos","events_url":"https://api.github.com/users/hpihkala/events{/privacy}","received_events_url":"https://api.github.com/users/hpihkala/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-22T10:40:04Z","updated_at":"2015-01-22T10:40:04Z","closed_at":null,"body":"In #29 support was added for producing raw buffer messages. However, as far as I understand, support for *consuming* binary messages is missing. The decoder converts message values to strings by assumption before calling the callback.\r\n\r\nThere should be a configuration parameter that controls whether to interpret messages as strings or not, or alternatively, the possibility to provide a custom message decoder function."}}