summaryrefslogtreecommitdiff
path: root/kafka/admin/client.py
diff options
context:
space:
mode:
authorBrian Sang <sang.bri@gmail.com>2019-01-04 22:16:28 -0800
committerJeff Widman <jeff@jeffwidman.com>2019-01-05 14:38:53 -0800
commitd2f9413b0311e6ec4d782cf9983f61c9f258cc7b (patch)
treed7c6c098324d02203ebdeea5657b984d70e9a4e9 /kafka/admin/client.py
parent70ea4c1e94a0ace46d3418fb0ee503bbf8a5b91b (diff)
downloadkafka-python-d2f9413b0311e6ec4d782cf9983f61c9f258cc7b.tar.gz
Use Popen.communicate() instead of Popen.wait()
Popen objects may deadlock when using stdout=PIPE or stderr=PIPE with Popen.wait(). Using Popen.communicate() avoids the issue.
Diffstat (limited to 'kafka/admin/client.py')
0 files changed, 0 insertions, 0 deletions