awr / KafkaClient

Native C# client for Kafka
Apache License 2.0
5 stars 2 forks source link

Deserialization fix #26

Closed ligu closed 7 years ago

ligu commented 7 years ago

Deserialization of MetadataResponse and ProduceResponse were constantly failing for me, with "System.IO.EndOfStreamException: Attempted to read past the end of the stream.", so I was suspicious of trying to read more data then needed.

This fix is completely experimental, I haven't checked the kafka protocol reference whether this is correct, or not. It just works for me.

ligu commented 7 years ago

You're right. It seems our server is still 0.9.0, but locally I had 0.10.1 ....... I'm discarding this PR!