Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support consuming binary messages #142

Closed
hpihkala opened this issue Jan 22, 2015 · 3 comments
Closed

Support consuming binary messages #142

hpihkala opened this issue Jan 22, 2015 · 3 comments

Comments

@hpihkala
Copy link
Contributor

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.

There 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.

@haio
Copy link
Member

haio commented Jan 26, 2015

We can add a option to determine whether to convert message to string or not.

@haio
Copy link
Member

haio commented Jan 26, 2015

The consumer support encoding option now, when set it to buffer, the message value will be a raw buffer

@hpihkala
Copy link
Contributor Author

Works beautifully. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants