You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This script it's not doing anything by purpose. I can't understand why, if the row: consumer = Consumer(consumer_config, logger=logger)
Is commented, then the KeyboardInterrupt (e.g. pressing Ctrl+C within the first five seconds the script is running) works properly, while if the consumer is initialised, the KeyboardInterrupt is not intercepted.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Please consider the following script:
This script it's not doing anything by purpose. I can't understand why, if the row:
consumer = Consumer(consumer_config, logger=logger)
Is commented, then the KeyboardInterrupt (e.g. pressing Ctrl+C within the first five seconds the script is running) works properly, while if the consumer is initialised, the KeyboardInterrupt is not intercepted.
Beta Was this translation helpful? Give feedback.
All reactions