Skip to content

Send Invoker Response when there are no matching functions #61

Open
@prsh9

Description

@prsh9

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

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions