Add blocker for exporters + tests

This commit is contained in:
ionutboangiu
2022-05-04 17:02:02 +03:00
committed by Dan Christian Bogos
parent 75b38e24e0
commit fb354a04a4
5 changed files with 220 additions and 3 deletions

View File

@@ -0,0 +1,48 @@
{
"general": {
"log_level": 7
},
"listen": {
"rpc_json": ":2012",
"rpc_gob": ":2013",
"http": ":2080"
},
"data_db": {
"db_type": "redis",
"db_port": 6379,
"db_name": "10"
},
"ees": {
"enabled": true,
"cache": {
"*fileCSV": {"limit": -1, "ttl": "500ms", "static_ttl": false}
},
"exporters": [
{
"id": "CSVExporter1",
"type": "*fileCSV",
"export_path": "/tmp/CSVFile1",
"attempts": 1,
"blocker": true,
"field_separator": ","
},
{
"id": "CSVExporter2",
"type": "*fileCSV",
"export_path": "/tmp/CSVFile2",
"attempts": 1,
"field_separator": ","
}
]
},
"admins": {
"enabled": true
}
}