cbickel opened a new pull request #272: Verify trigger fire by sideeffect.
URL: https://github.com/apache/incubator-openwhisk-package-kafka/pull/272
 
 
   Until now, we verify the kafkaprovider, by looking if the action in 
OpenWhisk has been executed with `activation list`. The problem with this call 
is, that the activation may not be in the list in time, because it only returns 
the result of an CouchDB view. If there is much load on the database, the 
view-computation may be behind and not return the activation.
   As side effect, we use a trigger creation. The name of the trigger will be 
read from the kafka message. All other things (like credentials, ...) are 
already present in the action, that is invoked anyway.
   To check if the trigger exists, we use the ID of the trigger. So no view is 
involved anymore.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to