diff options
author | Zack Dever <zdever@pandora.com> | 2016-04-07 18:36:14 -0700 |
---|---|---|
committer | Zack Dever <zdever@pandora.com> | 2016-04-13 17:26:38 -0700 |
commit | 64e9cebfa5e883464cfe76af0c3476ae542ac17b (patch) | |
tree | 0f011c36c12076df940f49d5b58fd16b46e9b5b6 /kafka/errors.py | |
parent | 0c94b83a2dff8113b5fd7c16df8a11ca03c4377b (diff) | |
download | kafka-python-64e9cebfa5e883464cfe76af0c3476ae542ac17b.tar.gz |
Kafka metrics java port. No reporters or instrumentation.
There is no straight translation for the JMX reporter into python,
so I'll do something else in a separate commit.
Diffstat (limited to 'kafka/errors.py')
-rw-r--r-- | kafka/errors.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kafka/errors.py b/kafka/errors.py index a36ee75..dd64b04 100644 --- a/kafka/errors.py +++ b/kafka/errors.py @@ -361,6 +361,10 @@ class KafkaConfigurationError(KafkaError): pass +class QuotaViolationError(KafkaError): + pass + + class AsyncProducerQueueFull(KafkaError): def __init__(self, failed_msgs, *args): super(AsyncProducerQueueFull, self).__init__(*args) |