This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.netflix.hystrix.strategy.concurrency.HystrixRequestContext; | |
import com.netflix.hystrix.strategy.concurrency.HystrixRequestVariableDefault; | |
import java.util.Map; | |
/** | |
* @author chenwenshun@gmail.com on 2023/5/16 | |
* | |
* In order to pass request context to a FeignClient thread. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.xxx.util; | |
import com.google.common.hash.BloomFilter; | |
import com.google.common.hash.Funnels; | |
import org.springframework.context.annotation.Scope; | |
import org.springframework.stereotype.Component; | |
import java.nio.charset.StandardCharsets; | |
import java.util.Iterator; | |
import java.util.concurrent.CopyOnWriteArrayList; |