-
Notifications
You must be signed in to change notification settings - Fork 22
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
Consumer offsets #98
Consumer offsets #98
Conversation
Otherwise snappy won't build. Signed-off-by: Tom Most <tmost@blueplanet.com>
Signed-off-by: Tom Most <tmost@blueplanet.com>
Signed-off-by: Tom Most <tmost@blueplanet.com>
This makes them show up once at the same level as methods, rather than twice (once with the ivars and again, undocumented, with the methods). Signed-off-by: Tom Most <tmost@blueplanet.com>
Signed-off-by: Tom Most <tmost@blueplanet.com>
Signed-off-by: Tom Most <tmost@blueplanet.com>
It is bytes, not str. Signed-off-by: Tom Most <tmost@blueplanet.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just some minor comments.
afkak/test/test_consumer.py
Outdated
@@ -43,6 +43,9 @@ | |||
class TestAfkakConsumer(unittest.SynchronousTestCase): | |||
maxDiff = None | |||
|
|||
def assertNone(self, value): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use assertIsNone
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't appear in the SynchronousTestCase
API documentation, which is where I looked. It does seem to exist, though. I will switch, thanks!
Signed-off-by: Tom Most <tmost@blueplanet.com>
Signed-off-by: Tom Most <tmost@blueplanet.com>
ConsumerGroup
doesn't actually look at the result of stopping its consumers.