python language sample program modification
This commit is contained in:
parent
17d784d584
commit
c1e5a6e6f9
|
@ -173,4 +173,4 @@ if __name__ == "__main__":
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
print(f"Failed to execute consumer example, topic: {topic}, groupId: {groupId}, clientId: {clientId}, ErrMessage:{err}.")
|
print(f"Failed to execute consumer example, topic: {topic}, groupId: {groupId}, clientId: {clientId}, ErrMessage:{err}.")
|
||||||
finally:
|
finally:
|
||||||
unsubscribe(consumer);
|
unsubscribe(consumer)
|
||||||
|
|
Loading…
Reference in New Issue