在尝试将Hystrix集成到现有的Spring Boot应用程序中时,我遇到了以下问题。我将启动与spring数据(jpa存储库)一起使用。该应用程序的结构非常简单,我们有资源->服务->存储库。@HystrixCommand(fallback="getDealsFallback") // Get the deals from the Index Server.
return indexServerRepo
有时我们在启动时会出现错误,一些消息会丢失。有时它工作得很好,所以错误似乎是随机的。 exception [Request processing failed; nested exception is java.util.ConcurrentModificationException] with root cause
at java.base/java.util.HashMap$KeySpliterator.tryAdvance(Unknown Source) ~[na:na]