nic-chen commented on issue #2643: URL: https://github.com/apache/apisix/issues/2643#issuecomment-723685913
> > we mainly use `jit-uuid` when we need to generate Gateway ID in APISIX, it works in `init_lua` phase. > > > > > > I do not think we can use `ngx.var.request_id` in this phase. > > > > Why Apache APISIX need to generate a uuid in `init` stage? What problem needs to be solved? > > > > If it is used for tracing, I think the lifecycle of a request will be in rewrite/access , etc. And `init` or `init_worker` phase don't need uuid. It's an ID for each APISIX instance, not for each request. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
