apache / openwhisk-package-kafka

Apache OpenWhisk package for communicating with Kafka or Message Hub
https://openwhisk.apache.org/
Apache License 2.0
33 stars 43 forks source link

Disable triggers for invalid auth when using custom auth handler #354

Closed dubee closed 4 years ago

dubee commented 4 years ago

When using a custom auth handler, the provider will encounter an exception when invalid credentials are supplied. The provider then gets stuck in an infinite exception loop since the consumer will restart after every exception.

Example log lines displaying this problem:

...Firing trigger with 6 messages 
...Uncaught exception: 'access_token' 
...Consumer stopped without being asked