Open johnstark opened 8 years ago
@johnstark -- FYI, the PR verification build fails with this change. https://ci.appveyor.com/project/skillrat/kafkanet/build/1.0.0.14-ystcjvtw
Is there some way to make this code support both Kafka 0.8 and 0.9?
@jthelin, we did verify the fix and it is working with Kafka 0.8 and 0.9. It turns out the mock in this case was assuming the empty string and a space is precisely what the fix required. I just checked in another PR that fixes the mocks.
Adding a space for DefaultClientId was required for kafkanet to work with Kafka 0.9. https://issues.apache.org/jira/browse/KAFKA-3088
With this fix: able to successfully produce messages from kafkanet to 0.9 and used the 0.9 Java consumer to consume them.