Rdebu commented on issue #59: URL: https://github.com/apache/apisix-java-plugin-runner/issues/59#issuecomment-900756284
> > > Find a way to get the `config_id` and get the cache based on the `config_id`. > > > But I don't know why you would want to do that. > > > > > > Did you say config_id is the key of Cache? Now i dont know how to get the cache's key . When is the value added to cache > > here: > > https://github.com/apache/apisix-java-plugin-runner/blob/df69b2ebd24860d2c9effc5aeaed6d1b7e8a176d/runner-core/src/main/java/org/apache/apisix/plugin/runner/handler/A6ConfigHandler.java#L54-L55 > > `token` is `config_id`, and is generated by APISIX. The 'token' seems to be obtained from response , but response is invoked only when the request is rejected. Is there another way to get a token? [https://github.com/apache/apisix-java-plugin-runner/blob/main/docs/en/latest/development.md#rewrite-request](https://github.com/apache/apisix-java-plugin-runner/blob/main/docs/en/latest/development.md#rewrite-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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
