Home

Awesome

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/

<img width="1440" alt="screen shot 2017-10-26 at 15 55 25" src="https://user-images.githubusercontent.com/6358735/32060207-049d4afa-ba66-11e7-8fc2-f4a0a84cbdaf.png"> <img width="1440" alt="screen shot 2017-10-26 at 15 55 19" src="https://user-images.githubusercontent.com/6358735/32060206-047eb75c-ba66-11e7-94d3-1343ea1811db.png"> <img width="1440" alt="screen shot 2017-10-26 at 15 55 06" src="https://user-images.githubusercontent.com/6358735/32060205-04545692-ba66-11e7-9e6d-b800a07b9bf5.png">

Configuration

ParameterDescriptionDefault
write_debugPrint verbose logsfalse
faas_gateway_addressAddress of gateway DNS namegateway
faas_gateway_portPort of gateway service8080
faas_max_reconnectAn integer of the amount of reconnection attempts when the NATS connection is lost120
faas_nats_addressThe host at which NATS Streaming can be reachednats
faas_nats_portThe port at which NATS Streaming can be reached4222
faas_nats_cluster_nameThe name of the target NATS Streaming clusterfaas-cluster
faas_reconnect_delayDelay between retrying to connect to NATS2s
faas_print_bodyPrint the body of the function invocationfalse