Closed gklijs closed 5 years ago
@flavray could you take a look at the pr please and/or let me know if this is useful.
Something else, but don't want to create a separate issue for it. Yesterday I did a talk in witch I compared the two Rust clients with two JVM versions of the same thing. Slides are here https://speakerdeck.com/gklijs/adding-some-rust-to-your-kafka. From this it seems the StreamConsumer is putting unnecessary load on the Kafka by polling too much, when the processing of messages takes longer/there are not that many messages. Do you think it's worth addressing this issue?
We recently updated the librdkafka version to 1.0.0 but did not update the broker for the tests. This is fine for now since it's backwards compatible, but probably will cause trouble when testing new features like the idempotent producer. I updated the docker-compose to use the current zookeeper and kafka from confluent. Tests are running locally now, will make a pr soon.