github.com/argoproj/argo-events@v1.9.1/examples/event-sources/amqp.yaml (about) 1 apiVersion: argoproj.io/v1alpha1 2 kind: EventSource 3 metadata: 4 name: amqp 5 spec: 6 amqp: 7 example: 8 # amqp server url 9 url: amqp://rabbitmq-service.argo-events:5672 10 # jsonBody specifies that all event body payload coming from this 11 # source will be JSON 12 jsonBody: true 13 # name of the exchange. 14 exchangeName: test 15 # exchange type. more info at https://www.rabbitmq.com/tutorials/amqp-concepts.html#exchanges 16 exchangeType: fanout 17 # routing key 18 routingKey: hello 19 # optional backoff time for connection retries. 20 # if not provided, default connection backoff time will be used. 21 connectionBackoff: 22 # duration in nanoseconds, or strings like "1s", "1m". following value is 10 seconds 23 duration: 10s 24 # how many backoffs 25 steps: 5 26 # factor to increase on each step. 27 # setting factor > 1 makes backoff exponential. 28 factor: 2 29 jitter: 0.2 30 # optional exchange settings 31 # if not provided, default values will be used 32 exchangeDeclare: 33 durable: true 34 autoDelete: false 35 internal: false 36 noWait: false 37 # optional queue settings 38 # if not provided, default values will be used 39 queueDeclare: 40 name: "my-queue-name" 41 durable: false 42 autoDelete: false 43 exclusive: true 44 noWait: false 45 # example argument to use quorum queues 46 # arguments: |- 47 # x-queue-type: quorum 48 # optional queue binding settings 49 # if not provided, default values will be used 50 queueBind: 51 noWait: false 52 # optional consume settings 53 # if not provided, default values will be used 54 consume: 55 consumerTag: "my-consumer-tag" 56 autoAck: true 57 exclusive: false 58 noLocal: false 59 noWait: false 60 # username and password for authentication 61 # use secret selectors 62 auth: 63 username: 64 name: my-secret 65 key: username 66 password: 67 name: my-secret 68 key: password 69 70 71 # example-tls: 72 # # amqp server url 73 # url: "amqp://rabbitmq-service.argo-events:5672" 74 # # jsonBody specifies that all event body payload coming from this 75 # # source will be JSON 76 # jsonBody: true 77 # # name of the exchange. 78 # exchangeName: "test" 79 # # exchange type. more info at https://www.rabbitmq.com/tutorials/amqp-concepts.html#exchanges 80 # exchangeType: "fanout" 81 # # routing key 82 # routingKey: "hello" 83 # # optional backoff time for connection retries. 84 # # if not provided, default connection backoff time will be used. 85 # connectionBackoff: 86 # # duration in nanoseconds, or strings like "1s". following value is 10 seconds 87 # duration: 10s 88 # # how many backoffs 89 # steps: 5 90 # # factor to increase on each step. 91 # # setting factor > 1 makes backoff exponential. 92 # factor: 2 93 # jitter: 0.2 94 # tls: 95 # caCertSecret: 96 # name: my-secret 97 # key: ca-cert-key 98 # clientCertSecret: 99 # name: my-secret 100 # key: client-cert-key 101 # clientKeySecret: 102 # name: my-secret 103 # key: client-key-key