From efbecc20fc7bfbd1931cac665a53a7c4376be2f5 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 5 Sep 2024 10:38:22 +0800 Subject: [PATCH] 1 --- bin/mqproxy/bin/.gitkeep | 0 bin/mqproxy/config/confdb.mysql.json | 9 +++++++++ bin/mqproxy/config/config.json | 7 +++++++ bin/mqproxy/config/mqproxy.cluster.json | 7 +++++++ 4 files changed, 23 insertions(+) create mode 100644 bin/mqproxy/bin/.gitkeep create mode 100644 bin/mqproxy/config/confdb.mysql.json create mode 100644 bin/mqproxy/config/config.json create mode 100644 bin/mqproxy/config/mqproxy.cluster.json diff --git a/bin/mqproxy/bin/.gitkeep b/bin/mqproxy/bin/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/bin/mqproxy/config/confdb.mysql.json b/bin/mqproxy/config/confdb.mysql.json new file mode 100644 index 00000000..c3477c54 --- /dev/null +++ b/bin/mqproxy/config/confdb.mysql.json @@ -0,0 +1,9 @@ +{ + "host": "mysql-test.kingsome.cn", + "port": 3306, + "user": "root", + "passwd": "keji178", + "database": "confdb_dev_1", + "max_open_conns": 1, + "max_idle_conns": 1 +} diff --git a/bin/mqproxy/config/config.json b/bin/mqproxy/config/config.json new file mode 100644 index 00000000..409fa2b7 --- /dev/null +++ b/bin/mqproxy/config/config.json @@ -0,0 +1,7 @@ +{ + "gamesapi_url": "https://game2006sapi-test.kingsome.cn", + "redirect_url": "https://game2006api-test.kingsome.cn", + "redirect_secret_key": "~kCu8jYS)rJ5Ay_pZS_rT#&jOl)Qo0m)", + "max_concurrent_num": 10, + "request_over_time": 30 +} diff --git a/bin/mqproxy/config/mqproxy.cluster.json b/bin/mqproxy/config/mqproxy.cluster.json new file mode 100644 index 00000000..bb024d7b --- /dev/null +++ b/bin/mqproxy/config/mqproxy.cluster.json @@ -0,0 +1,7 @@ +[ + { + "instance_id": 1, + "listen_port": 3011, + "http_listen_port": 3010 + } +]