-
Notifications
You must be signed in to change notification settings - Fork 336
Closed
Description
We have an issue with ruby kafka >= 0.5.0 in Phobos that we might need your help to investigate, see phobos/phobos#48
We realize that this is our problem, and we have the workaround to lock < 0.5.0 of Ruby Kafka, but we think you might have seen something similar and can help put us on the right track. I guess the outcome can be either of two things
- There is a bug in ruby kafka that our tests helped expose
- There is a migration path from 0.4.x to 0.5x that we haven't observed
So... Anyway, here is the report and steps to reproduce.
- Version of Ruby: 2.4.1
- Version of Kafka: 0.10.2.0
- Version of ruby-kafka: 0.5.0+
Steps to reproduce
- Clone https://github.com/klarna/phobos
- In the gemspec, remove the locking of ruby-kafka to allow 0.5.1 to be installed
- Run
docker-compose up -d --force-recreate kafka zookeeperto start dependencies - Run
docker-compose build testto build test container - Run
docker-compose run --rm test bundle exec rspec
Many listeners spec will fail with
IOError:
closed streamExpected outcome
Tests should be green, right now we have to lock < 0.5.0 of Ruby Kafka.
Actual outcome
Tests are red (listener tests only.
Metadata
Metadata
Assignees
Labels
No labels