You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.cdn.hbchan.top/openfaas/nats-queue-worker

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.cdn.hbchan.top/openfaas/nats-queue-worker

v0.0.0-20220201171509-369198f6d929
Go
Version published
Created
Source

queue-worker for NATS Streaming

Go Report Card Build Status

go.dev reference License: MIT 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

ParameterDescriptionDefault
gateway_invokeWhen true functions are invoked via the gateway, when false they are invoked directlyfalse
basic_authWhen true basic auth is used to post any function statistics back to the gatewayfalse
write_debugPrint verbose logsfalse
max_inflightNumber of messages sent to queue worker and how many functions are invoked concurrently.1
faas_gateway_addressAddress of gateway DNS namegateway
faas_gateway_portPort of gateway service8080
faas_function_suffixWhen gateway_invoke is false, this suffix is used to contact a function, it may correspond to a Kubernetes namespace``
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

FAQs

Package last updated on 01 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts