diff options
author | Dana Powers <dana.powers@gmail.com> | 2019-08-16 11:04:10 -0700 |
---|---|---|
committer | Jeff Widman <jeff@jeffwidman.com> | 2019-08-16 11:04:10 -0700 |
commit | 5bc25292b8bb5b20ba2fff481fdc77b9909d0831 (patch) | |
tree | 6d3808298d0a9099fda2028f8d777541428e9255 /kafka/protocol/api.py | |
parent | ace6af5e5d2ff7b900bc694065562127b4efe8dc (diff) | |
download | kafka-python-5bc25292b8bb5b20ba2fff481fdc77b9909d0831.tar.gz |
Reduce internal client poll timeout for consumer iterator interface (#1824)
More attempts to address heartbeat timing issues in consumers, especially with the iterator interface. Here we can reduce the `client.poll` timeout to at most the retry backoff (typically 100ms) so that the consumer iterator interface doesn't block for longer than the heartbeat timeout.
Diffstat (limited to 'kafka/protocol/api.py')
0 files changed, 0 insertions, 0 deletions