blob: 9cd7eb3128b1f83cbc2594348ab1120008cf823e (
plain) (
blame)
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
|
# Sample configuration file for Benthos. It saves all messages to a file (/tmp/benthos.txt).
http:
enabled: true
address: 127.0.0.1:4195
root_path: /
debug_endpoints: false
input:
http_server:
path: /post
ws_path: /post/ws
ws_welcome_message: "Welcome to the Benthos Websocket API."
allowed_verbs:
- POST
timeout: 5s
cors:
enabled: false
allowed_origins: []
sync_response:
status: "200"
headers:
Content-Type: application/octet-stream
output:
file:
path: /tmp/benthos.txt
codec: lines
shutdown_delay: 0s
shutdown_timeout: 20s
|