Currently when invoking a function on a topic with controller.Invoke() and there are no matching functions (probably due to function still being loaded, topic-map not refreshed) there is no way to acknowledge upstream. Consider using amqp which uses manual auto-ack, there is no way to determine the failure and do a negative ack.
Expected Behaviour
Create an custom error and send response in case of no matched function.
Current Behaviour
No way of finding out if there are no matching functions.
Your Environment
FaaS-CLI version ( Full output from: faas-cli version ):
CLI:
commit: 72816d486cf76c3089b915dfb0b66b85cf096634
version: 0.13.13
My actions before raising this issue
Currently when invoking a function on a topic with
controller.Invoke()
and there are no matching functions (probably due to function still being loaded, topic-map not refreshed) there is no way to acknowledge upstream. Consider using amqp which uses manual auto-ack, there is no way to determine the failure and do a negative ack.Expected Behaviour
Current Behaviour
Your Environment
faas-cli version
): CLI: commit: 72816d486cf76c3089b915dfb0b66b85cf096634 version: 0.13.13