文件名称:cqrs-example:Go,MySQL,NATS,ElasticSearch的CQRS示例
文件大小:18KB
文件格式:ZIP
更新时间:2024-06-04 19:01:42
mysql kubernetes golang elasticsearch cqrs
cqrs-示例 Go,MySQL,NATS,ElasticSearch,Kubernetes的CQRS示例 部署方式 在运行以下命令之前,请确保已安装Docker,Kubernetes: # Deploy infra services cd k8s/ kubectl create -f mysql.yaml kubectl create -f elasticsearch.yaml kubectl create -f nats.yaml # Deploy our services cd ../books make first_deploy cd ../book-query make first_deploy # Post a book, this should result in data to be stored in MySQL and trigger book-query serv
【文件预览】:
cqrs-example-master
----book-query()
--------api()
--------Dockerfile(96B)
--------Makefile(473B)
--------book-query.yaml(919B)
--------main.go(2KB)
----.gitignore(192B)
----k8s()
--------nats.yaml(545B)
--------elasticsearch.yaml(511B)
--------mysql.yaml(1KB)
----LICENSE(1KB)
----books()
--------api()
--------Dockerfile(86B)
--------Makefile(491B)
--------books.yaml(804B)
--------main.go(1KB)
----README.md(891B)
----common()
--------util.go(668B)