-
Notifications
You must be signed in to change notification settings - Fork 628
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
UTF-8 Encoding? #35
Comments
Could you please paste some code example here? |
Sample producer: var kafka = require('kafka-node'), Results from running the consumer in kafka/bin directory: |
I can get the complete JSON from both Kafka-node consumer and the Kafka-console-consumer. Can you get the expected message using Kafka-node consumer? |
I just update to a newer version of kafka-node and this seems to be fixed. On Tue, Apr 1, 2014 at 9:15 AM, Zhong Yu notifications@github.com wrote:
|
Good. |
When using UTF-8 encoding to support other languages such as Korean, messages that are placed in the Kafka queue seem to have the incorrect offset. When consuming the UTF-8 message out of the queue for every UTF-8 encoded character 2 bytes are missing off the end. The message looks good in the Kafka logs but when they are consumed that are missing x bytes off the end.
The text was updated successfully, but these errors were encountered: