python language sample program modification

This commit is contained in:
Yaming Pei 2024-08-16 20:36:40 +08:00
parent 17d784d584
commit c1e5a6e6f9
1 changed files with 1 additions and 1 deletions

View File

@ -173,4 +173,4 @@ if __name__ == "__main__":
except Exception as err:
print(f"Failed to execute consumer example, topic: {topic}, groupId: {groupId}, clientId: {clientId}, ErrMessage:{err}.")
finally:
unsubscribe(consumer);
unsubscribe(consumer)