summaryrefslogtreecommitdiff
path: root/kafka/consumer/subscription_state.py
diff options
context:
space:
mode:
Diffstat (limited to 'kafka/consumer/subscription_state.py')
-rw-r--r--kafka/consumer/subscription_state.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/kafka/consumer/subscription_state.py b/kafka/consumer/subscription_state.py
index 10d722e..c1cb020 100644
--- a/kafka/consumer/subscription_state.py
+++ b/kafka/consumer/subscription_state.py
@@ -73,6 +73,9 @@ class SubscriptionState(object):
# initialize to true for the consumers to fetch offset upon starting up
self.needs_fetch_committed_offsets = True
+ def __del__(self):
+ log.debug('%s: __del__', self)
+
def subscribe(self, topics=(), pattern=None, listener=None):
"""Subscribe to a list of topics, or a topic regex pattern.