github.com/argoproj/argo-events@v1.9.1/examples/event-sources/nsq.yaml (about) 1 apiVersion: argoproj.io/v1alpha1 2 kind: EventSource 3 metadata: 4 name: nsq 5 spec: 6 nsq: 7 example: 8 # HostAddress is the address of the host for NSQ lookupd 9 hostAddress: nsqlookupd.argo-events.svc:4161 10 # jsonBody specifies that all event body payload coming from this 11 # source will be JSON 12 jsonBody: true 13 # Topic to subscribe to. 14 topic: hello 15 # Channel used for subscription 16 channel: my-channel 17 # optional backoff time for connection retries. 18 # if not provided, default connection backoff time will be used. 19 connectionBackoff: 20 # duration in nanoseconds, or strings like "2s", "1m". following value is 10 seconds. 21 duration: 10s 22 # how many times you want to apply backoff. 23 steps: 5 24 # factor to increase on each step. 25 # setting factor > 1 makes the backoff exponential. 26 factor: 2 27 jitter: 0.2 28 29 # example-tls: 30 # hostAddress: nsqlookupd.argo-events.svc:4161 31 # jsonBody: true 32 # topic: hello 33 # channel: my-channel 34 # tls: 35 # caCertSecret: 36 # name: my-secret 37 # key: ca-cert-key 38 # clientCertSecret: 39 # name: my-secret 40 # key: client-cert-key 41 # clientKeySecret: 42 # name: my-secret 43 # key: client-key-key