2023/08/1315:25:54INFO No logger configured fortemporal client. Created default one.
2023/08/1315:25:54Unable to execute workflow Namespace temporal-namespace isnotfound.
exit status 1
需注册命名空间(业务资源隔离)
5、定时工作流启动后报 Schedules are disabled
temporal 默认是没有开启 schedule 的,需 enableSchedule
6、定时工作流异常
(1)指定的时间点没有触发
使用姿势不对
参数设置:时区
Queue 映射一致(starter、worker)
(2)已经成功执行了但是 temporal 还是显示 running
定时 schedule workflow 需要手动关闭
7、No Workers Running
解决:检查业务 worker 容器状态。可能是容器未启动或容器 hang 住
8、grpc: the client connection is closing
解决:连接失败,请检查获取 temporal client 的代码
可参考:
9、unable to decode: json: cannot unmarshal number
unable to decode the activity function inputpayload with error: payload item 1: unable to decode: json: cannot unmarshal number into Go value of type[]*workflow.Item forfunction name: GenerateEachLineDataActivity
解决:Json 大整数反序列化需要指定结果目标类型为指针,否则报 cannot unmarshal number