From 4765b7bee5b04324dca1d157b22b701dddf12663 Mon Sep 17 00:00:00 2001 From: Ivan Blinkov Date: Fri, 1 Nov 2019 19:08:29 +0300 Subject: [PATCH] [utils/kafka] provide some exit code from main --- utils/kafka/consume.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/kafka/consume.py b/utils/kafka/consume.py index 34a1997d3e6..c82901f9e0e 100755 --- a/utils/kafka/consume.py +++ b/utils/kafka/consume.py @@ -34,6 +34,7 @@ def main(): pprint(client.poll(10000)) client.unsubscribe() client.close() + return 0 if __name__ == "__main__":