forked from kubemq-io/kubemq-sources
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.yaml
36 lines (35 loc) · 841 Bytes
/
example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
apiPort: 8080
bindings:
- name: http-post-kubemq-event
source:
kind: http
name: http-post
properties:
"methods": "post,put"
"path": "/post"
target:
kind: kubemq.events
name: target-kubemq-events
properties:
address: "localhost:50000"
client_id: "kubemq-http-connector"
auth_token: ""
channel: "events.post"
- name: http-post-kubemq-event-2
source:
kind: http
name: http-post
properties:
"methods": "get"
"path": "/query"
target:
kind: kubemq.query
name: target-kubemq-events
properties:
address: "localhost:50000"
client_id: "kubemq-http-connector"
auth_token: ""
timeout_seconds: "10"
channel: "query"
properties:
log_level: "debug"