mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
[utils/kafka] provide some exit code from main
This commit is contained in:
parent
394e242328
commit
4765b7bee5
@ -34,6 +34,7 @@ def main():
|
|||||||
pprint(client.poll(10000))
|
pprint(client.poll(10000))
|
||||||
client.unsubscribe()
|
client.unsubscribe()
|
||||||
client.close()
|
client.close()
|
||||||
|
return 0
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
Reference in New Issue
Block a user