Kevin Wan
Kevin Wan
> 因为8.x去掉了 _type 字段,所以只需要将writer.go中的 以下代码删除即可 `if len(w.docType) > 0 { req = req.Type(w.docType) }` Submit a PR? Thanks!
fixed by #43
Would you please add unit tests?
Duplicate of #2041
go-zero only handles SIGTERM, because in server, you never hit ctrl-c to running services.
```curl ❯ curl -d '{"a":2,"b":3}' -H 'Content-Type: application/json' localhost:8081/v1/sum { "result": "5" } ```
Right now, it's better to restart the gateway. But it's a good idea to reload the config on the fly. I might work on it later.
> We need to dynamically add upstream to an already running gateway service, without modifying the configuration file and restarting the gateway. Without changing the config file, how to add...
It's better to be a passed in option. Not just allowing the topic auto creation.