Open RVivekkumar opened 5 years ago
@RVivekkumar please upload your config file
This is my Config File
{ "debug": true, "process": { "file_limit": 1000000, "core_limit": 1000000000 }, "log": { "path": "/var/log/matchengine.log", "flag": "fatal,error,warn,info,debug,trace", "num": 10 }, "alert": { "host": "matchengine", "addr": "127.0.0.1:xxxx" }, "svr": { "bind": [ "tcp@0.0.0.0:xxxx", "udp@0.0.0.0:xxxx" ], "buf_limit": 100, "max_pkg_size": 10240, "heartbeat_check": false }, "cli": "tcp@127.0.0.1:7317", "db_sys": { "host": "xxxx", "user": "exchange", "pass": "xxxx", "name": "exchange" }, "db_log": { "host": "xxxx", "user": "exchange", "pass": "xxxx", "name": "trade_log" }, "db_history": { "host": "xxxx", "user": "exchange", "pass": "xxxx", "name": "trade_history" }, "brokers": "kafka:9092", "slice_interval": 3600, "slice_keeptime": 259200 }
seems like your config is fine. check your kafka connection. make sure it can be reached from matchengine server.
i am also getting same error
@objectt please help on this got stuck do i need to do any changes
@karthik2883 please elaborate your problem. Provide any logs, error messages, current configuration, etc.
Actually i am using your code this is my config { "debug": true, "process": { "file_limit": 1000000, "core_limit": 1000000000 }, "log": { "path": "/var/log/matchengine.log", "flag": "fatal,error,warn,info,debug,trace", "num": 10 }, "alert": { "host": "matchengine", "addr": "0.0.0.0:4444" }, "svr": { "bind": [ "tcp@0.0.0.0:7316", "udp@0.0.0.0:7316" ], "buf_limit": 100, "max_pkg_size": 10240, "heartbeat_check": false }, "cli": "tcp@0.0.0.0:7317", "db_sys": { "host": "", "user": "", "pass": "", "name":"" }, "db_log": { "host": "", "user": "", "pass": "", "name":"" }, "db_history": { "host": "", "user": "", "pass": "", "name":"" }, "brokers": "0.0.0.0:9092", "slice_interval": 3600, "slice_keeptime": 259200 }
after checking your code i came to know that there suppose to be kafka producer json in config.json could you share the updated config for matchengine that would be really helpfull
if you forked my version, matchengine config needs following section along with others:
"kafka": {
"brokers": "127.0.0.1:9092",
"topic_balances": "balances",
"topic_orders": "orders",
"topic_deals": "deals"
}
Thank you very much .................................... :bowing_man:
I had been stuck up in matchengine deployments. While i am using entrypoint file call matchengine the error shows
load kafka config fail: -381 ./matchengine.exe: load config fail: -283
Can Anyone please help me in this issue