Mulavar commented on issue #1989: URL: https://github.com/apache/dubbo-go/issues/1989#issuecomment-1207867600
token filter机制是服务端在调用服务前检测客户端传来的token(remote token)和当前自己保存的token是否一致,试想一下,服务端的 remote token 是客户端,那客户端的 remote token 是什么呢?因此客户端不需要配置 token filter。 dubbo 的 token 机制略微特殊,不用客户端显式传递,它的目标是避免用户不经过注册中心直接使用客户端调用服务端,token 是实际存在注册中心上的,因此只需要服务端配置好 token filter,客户端会自动去注册中心拉取对应 token。 -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
