summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJeff Widman <jeff@jeffwidman.com>2017-12-07 12:58:28 -0800
committerJeff Widman <jeff@jeffwidman.com>2017-12-07 13:04:11 -0800
commit3cc7e27807571913e526aa73bb56a2cca1ac67af (patch)
tree5563014f6ca1fea01781d52a9729169801cf24cc /docs
parent5d1b13ef2812ddfe619495178f41e57b1fb640df (diff)
downloadkafka-python-1274-producer-raise-non-api-exceptions.tar.gz
The original intent was to catch API exceptions (errors returned by the broker when trying to produce a message) and delegate them to the messages' futures. This is copied from the Java producer. However, we were accidentally catching all exceptions, thereby hiding exceptions from users unless they explicitly check the result of the future. Much better to raise client-side errors directly in the foreground so the user is immediately aware of them and can decide how to handle. Fix #1274
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions