Closed LXPWing closed 1 year ago
@seeflood redis的value插入什么文本
@seeflood redis的value插入什么文本
抱歉刚看到!都行,得体即可, 例如 "This message comes from Alibaba Cloud ECS"
要不,消息从环境变量里读,或者从某个文件读?这样在阿里云和 aws 部署的时候,我可以配不同的消息
@LXPWing 脚本看起来没问题哈,就是要补充下输入redis 的kv,以及启动layotto的config.json,在 https://github.com/layotto/java-sdk/blob/main/examples-preview-service/config.json
@seeflood 启动layotto的config.json,好像原先就写好了
redis的value,通过shell命令行传递文件路径参数例如 “sh start.sh test.txt”来读取
@LXPWing
redis的value,通过shell命令行传递文件路径参数例如 “sh start.sh test.txt”来读取
ok
@seeflood 这里redis json不能使用环境变量,上服务的时候需要手动添加