flask_msa:使用flask建立微服务架构

上传者: 42153691 | 上传时间: 2022-05-23 14:55:35 | 文件大小: 231KB | 文件类型: ZIP
使用Flask构建咖啡厅订单服务器和容器分发 使用烧瓶的咖啡订单,使用kafka的数据同步和更新,通过docker分发 order_ms容器执行 docker run -d -p 15000:5000 --network my-coffee-network --name order_ms 1yangsh/order-ms MySQL运行 docker run -d -p 13306:3306 --network my-coffee-network -e MYSQL_ALLOW_EMPTY_PASSWORD=true --name mydb mysql:5.7 kafka_consumer_ms执行 docker run -d --network my-coffee-network --name kafka_consumer 1yangsh/kafka_consumer

文件下载

资源详情

[{"title":"( 58 个子文件 231KB ) flask_msa:使用flask建立微服务架构","children":[{"title":"flask_msa-master","children":[{"title":"kafka_consumer.py <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"Dockerfile_delivery <span style='color:#111;'> 220B </span>","children":null,"spread":false},{"title":"Dockerfile_consumer <span style='color:#111;'> 174B </span>","children":null,"spread":false},{"title":"delivery_ms.py <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"kafka-docker","children":[{"title":".travis.yml <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false},{"title":"docker-compose-single-broker.yml <span style='color:#111;'> 603B </span>","children":null,"spread":false},{"title":"test","children":[{"title":"scenarios","children":[{"title":"jmx","children":[{"title":"jmxexporter.yml <span style='color:#111;'> 157B </span>","children":null,"spread":false},{"title":"test.sh <span style='color:#111;'> 320B </span>","children":null,"spread":false},{"title":"docker-compose.yml <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false}],"spread":true},{"title":"Readme.md <span style='color:#111;'> 473B </span>","children":null,"spread":false},{"title":"runJmxScenario.sh <span style='color:#111;'> 146B </span>","children":null,"spread":false}],"spread":true},{"title":"0.9","children":[{"title":"test.snappy.kafkacat.sh <span style='color:#111;'> 273B </span>","children":null,"spread":false},{"title":"test.start-kafka-multiple-listeners.kafka.sh <span style='color:#111;'> 953B </span>","children":null,"spread":false},{"title":"test.start-kafka-advertised-listeners.kafka.sh <span style='color:#111;'> 463B </span>","children":null,"spread":false},{"title":"test.start-kafka-listeners.kafka.sh <span style='color:#111;'> 443B </span>","children":null,"spread":false}],"spread":true},{"title":"0.0","children":[{"title":"test.broker-list.kafka.sh <span style='color:#111;'> 502B </span>","children":null,"spread":false},{"title":"test.start-kafka-port-command.kafka.sh <span style='color:#111;'> 584B </span>","children":null,"spread":false},{"title":"test.start-kafka-bug-313-kafka-opts.kafka.sh <span style='color:#111;'> 663B </span>","children":null,"spread":false},{"title":"test.start-kafka-restart.kafka.sh <span style='color:#111;'> 410B </span>","children":null,"spread":false},{"title":"test.create-topics-custom-separator.kafka.sh <span style='color:#111;'> 1023B </span>","children":null,"spread":false},{"title":"test.start-kafka-advertised-host.kafka.sh <span style='color:#111;'> 450B </span>","children":null,"spread":false},{"title":"test.read-write.kafkacat.sh <span style='color:#111;'> 229B </span>","children":null,"spread":false},{"title":"test.start-kafka-host-name.kafka.sh <span style='color:#111;'> 409B </span>","children":null,"spread":false},{"title":"test.start-kafka-log4j-config.kafka.sh <span style='color:#111;'> 346B </span>","children":null,"spread":false},{"title":"test.start-kafka-bug-312-kafka-env.kafka.sh <span style='color:#111;'> 644B </span>","children":null,"spread":false},{"title":"test.path.kafka.sh <span style='color:#111;'> 286B </span>","children":null,"spread":false},{"title":"test.start-kafka-broker-id.kafka.sh <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false}],"spread":false},{"title":"version.functions <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"Readme.md <span style='color:#111;'> 772B </span>","children":null,"spread":false},{"title":"0.10","children":[{"title":"test.create-topics.kafka.sh <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"test.functions <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"docker-compose.yml <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"internal-broker-list.sh <span style='color:#111;'> 199B </span>","children":null,"spread":false},{"title":"runTestPattern.sh <span style='color:#111;'> 913B </span>","children":null,"spread":false},{"title":"runAllTests.sh <span style='color:#111;'> 402B </span>","children":null,"spread":false},{"title":"verifyImageLabels.sh <span style='color:#111;'> 604B </span>","children":null,"spread":false}],"spread":false},{"title":"Dockerfile <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"create-topics.sh <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"docker-compose-swarm.yml <span style='color:#111;'> 705B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 11.06KB </span>","children":null,"spread":false},{"title":"versions.sh <span style='color:#111;'> 165B </span>","children":null,"spread":false},{"title":"overrides","children":[{"title":"0.9.0.1.sh <span style='color:#111;'> 308B </span>","children":null,"spread":false}],"spread":true},{"title":"docker_push <span style='color:#111;'> 325B </span>","children":null,"spread":false},{"title":"docker-compose.yml <span style='color:#111;'> 324B </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 10.90KB </span>","children":null,"spread":false},{"title":"start-kafka-shell.sh <span style='color:#111;'> 131B </span>","children":null,"spread":false},{"title":"download-kafka.sh <span style='color:#111;'> 739B </span>","children":null,"spread":false},{"title":"broker-list.sh <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":"start-kafka.sh <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false}],"spread":false},{"title":"sink_connect.json <span style='color:#111;'> 483B </span>","children":null,"spread":false},{"title":"rest1.py <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"rest1_test.py <span style='color:#111;'> 1005B </span>","children":null,"spread":false},{"title":"Dockerfile_order <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"source_connect.json <span style='color:#111;'> 451B </span>","children":null,"spread":false},{"title":"README.assets","children":[{"title":"image-20210408010838976.png <span style='color:#111;'> 191.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"order_ms.py <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 628B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明