岚天逸剑
岚天逸剑
Same Concern. It is also acceptable to send a signal to trigger the update, such as sending SIGUSER2, or the gateway provides a admin port. Maybe the best way is...
> Same Concern. It is also acceptable to send a signal to trigger the update, such as sending SIGUSER2, or the gateway provides a admin port. Maybe the best way...
Look forward to progress.
> 一模一样的问题,我的库名是带小数点的,感觉是库名问题,但是加上'scan.startup.mode' = 'latest-offset',又没问题了,感觉是binlog日志格式问题,具体原因为未找到,楼主怎么解决的 也遇到了库名带小数点的
A health check mechanism is needed here. Simply retry regularly. In short, the gateway cannot be started just because a service is not started. In fact, what happens after startup...
Of course, error logs are necessary. Although errors will not cause the gateway to fail to start, they must be discovered by operation and maintenance. Monitoring and alarm capabilities also...
Because one service is unavailable, all services are unavailable. Obviously no company can accept this. The gateway must be decoupled from the service, but the gateway must be able to...
确实存在这个问题,丢失了。ctx中有transport.connectionKey、peer.peerKey、metadata.mdIncomingKey、grpc.streamKey、baggage.baggageContextKeyType、trace.traceContextKeyType、trace.traceContextKeyType,在没有解决之前可以通过 [md](https://github.com/eyjian/Getting-Started-with-Go-zero/blob/main/doc/go-zero/grpc%E7%9A%84rpc%E6%9C%8D%E5%8A%A1%E9%97%B4%E4%BC%A0%E9%80%92%E9%A2%9D%E5%A4%96%E6%95%B0%E6%8D%AE.md) 来传递额外数据,测试也没有问题。
> ```go > httpx.OkJson(w, wrappedResp) > ``` Thanks. I hope to achieve the goal without using "server.Use(wrapResponse)", which is a non-elegant way to implement it.
> @eyjian problem solved? Thank you, it's a temporary solution, but it's not elegant and not a satisfactory way. In addition, I hope that the gateway will not be unable...