Skip to content

openfaas/nats-queue-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

619158b · Dec 9, 2024
Dec 9, 2024
Jan 17, 2023
Feb 12, 2019
Dec 9, 2024
May 12, 2020
Oct 27, 2018
Jul 27, 2021
May 7, 2019
Nov 23, 2017
Dec 9, 2024
Aug 21, 2017
Oct 23, 2023
Dec 9, 2024
Dec 9, 2024
Dec 9, 2024
May 3, 2022
Dec 14, 2022
Dec 14, 2022
Jul 27, 2021

Repository files navigation

Notice

NATS Streaming was deprecated in June 2023 by Synadia, and will receive no more updates, including for critical security issues.

Migrate to OpenFaaS Standard for NATS JetStream, learn more:

queue-worker (Community Edition) for NATS Streaming

Go Report Card Build Status

go.dev reference License: MIT OpenFaaS Derek App

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

Usage

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
write_debug Print verbose logs false
faas_gateway_address Address of gateway DNS name gateway
faas_gateway_port Port of gateway service 8080
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