Rdebu edited a comment on issue #59:
URL: 
https://github.com/apache/apisix-java-plugin-runner/issues/59#issuecomment-903081604


   > > it is only in Guava Cache
   > 
   > It is only managed by Guava Cache.
   
   I got the token at creation time, so I got A6Conf for Cache<token, A6Conf> 
in A6ConfigHandler, and I got the PluginFilterChain object in A6Conf.  We get 
the List in the PluginFilterChain object;  In addition, I can modify the 
Map<String, PluginFilter> in A6ConfigHandler.  However, I overwrite the 
corresponding Filter in the List and Map<String, PluginFilter> with my Filter 
object, but I still can't get my Filter to Apisix.  I am sure that my filter 
has been placed in the List and Map<String, PluginFilter>, sometimes the effect 
is the filter that was previously overwritten, sometimes the error 503 is 
directly reported, what is the case  
   【我在创建时获取到了token,也因此获取到了A6ConfigHandler中的Cache<token, 
A6Conf>对应的A6Conf,也获取到了a6Conf中的PluginFilterChain对象,从而获取到了PluginFilterChain对象中的List;另外A6ConfigHandler中的Map<String,
 PluginFilter>我也能修改了。但是我将自己的Filter对象去覆盖List与Map<String, 
PluginFilter>中对应的filter,依然不能够让apisix获取到我自己的filter,我确定自己的filter已经放入List与Map<String,
 PluginFilter>中,有时候效果是之前被覆盖的filter,有时候直接报错误码503,这种是什么情况】
   
![image](https://user-images.githubusercontent.com/58921097/130315802-1dc5238a-3cbe-4f3f-a71b-486051725253.png)
   
![image](https://user-images.githubusercontent.com/58921097/130316059-d6d4d02a-16dd-46c8-a463-59cee2bbb41c.png)
   


-- 
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]


Reply via email to