summaryrefslogtreecommitdiff
path: root/kafka/producer/kafka.py
diff options
context:
space:
mode:
Diffstat (limited to 'kafka/producer/kafka.py')
-rw-r--r--kafka/producer/kafka.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/kafka/producer/kafka.py b/kafka/producer/kafka.py
index f6a0603..e6bd3b9 100644
--- a/kafka/producer/kafka.py
+++ b/kafka/producer/kafka.py
@@ -464,7 +464,6 @@ class KafkaProducer(object):
assert timeout >= 0
log.info("Closing the Kafka producer with %s secs timeout.", timeout)
- #first_exception = AtomicReference() # this will keep track of the first encountered exception
invoked_from_callback = bool(threading.current_thread() is self._sender)
if timeout > 0:
if invoked_from_callback: