Help us shape the future of Go! Take the 2026 Go Developer Survey

faas-nats

command module
v0.0.0-...-ea63e48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2021 License: MIT Imports: 21 Imported by: 0

README

queue-worker for NATS Streaming

Go Report Card Build Status

go.dev reference OpenFaaS Derek App

The queue-worker processes asynchronous function invocation requests, you can read more about this in the async documentation

Docker Hub image: openfaas/queue-worker

License: MIT

Screenshots from keynote / video - find out more over at https://www.openfaas.com/

screen shot 2017-10-26 at 15 55 25 screen shot 2017-10-26 at 15 55 19 screen shot 2017-10-26 at 15 55 06

Configuration

Parameter Description Default
gateway_invoke When true functions are invoked via the gateway, when false they are invoked directly false
basic_auth When true basic auth is used to post any function statistics back to the gateway false
write_debug Print verbose logs false
max_inflight Number of messages sent to queue worker and how many functions are invoked concurrently. 1
faas_gateway_address Address of gateway DNS name gateway
faas_gateway_port Port of gateway service 8080
faas_function_suffix When gateway_invoke is false, this suffix is used to contact a function, it may correspond to a Kubernetes namespace ``
faas_max_reconnect An integer of the amount of reconnection attempts when the NATS connection is lost 120
faas_nats_address The host at which NATS Streaming can be reached nats
faas_nats_port The port at which NATS Streaming can be reached 4222
faas_nats_cluster_name The name of the target NATS Streaming cluster faas-cluster
faas_reconnect_delay Delay between retrying to connect to NATS 2s
faas_print_body Print the body of the function invocation false

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL