github.com/argoproj/argo-events@v1.9.1/examples/event-sources/emitter.yaml (about) 1 apiVersion: argoproj.io/v1alpha1 2 kind: EventSource 3 metadata: 4 name: emitter 5 spec: 6 emitter: 7 example: 8 # Broker URI to connect to. 9 broker: tcp://broker.argo-events.svc:4000 10 # ChannelName refers to the channel name 11 channelName: hello 12 # ChannelKey is the key for the channel 13 channelKey: channel_key 14 # jsonBody specifies that all event body payload coming from this 15 # source will be JSON 16 jsonBody: true 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 "4s", "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 # template: 29 # # Username to use to connect to broker 30 # # +optional 31 # username: 32 # name: name_of_the_secret_that_containing_username 33 # key: name_of_the_secret_that_containing_username 34 # # Password to use to connect to broker 35 # # +optional 36 # password: 37 # name: name_of_the_secret_that_containing_password 38 # key: name_of_the_secret_that_containing_password 39 40 # example-tls: 41 # broker: tcp://broker.argo-events.svc:4000 42 # channelName: hello 43 # channelKey: channel_key 44 # jsonBody: true 45 # tls: 46 # caCertSecret: 47 # name: my-secret 48 # key: ca-cert-key 49 # clientCertSecret: 50 # name: my-secret 51 # key: client-cert-key 52 # clientKeySecret: 53 # name: my-secret 54 # key: client-key-key