apache / openwhisk-package-kafka

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

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

Closed dubee closed 5 years ago

dubee commented 5 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