Failed posts and failover for export loggers

This commit is contained in:
adi
2022-06-28 16:56:10 +03:00
committed by Dan Christian Bogos
parent f562de49df
commit c22f43c788
13 changed files with 229 additions and 84 deletions

View File

@@ -1,10 +1,18 @@
{
"general": {
"log_level": 7,
"reply_timeout": "50s"
},
"logger": {
"type": "*kafka", // controls the destination of logs <*syslog|*stdout|*kafka>
"level": 6, // system level precision for floats
"opts": {
"kafka_conn": "192.168.55.44:9092", // the connection trough kafka
"kafka_topic": "TutorialTopic", // the topic from where the events are exported
"attempts": 1, // number of attempts of connecting
},
},
"listen": {
"rpc_json": ":2012",