
[英]Build Spring eureka client with graalvm native-image
很抱歉,因为这是我在堆栈溢出中的第一个问题,所以我希望我能正确解释这个问题...... 我正在使用spring boot 3.0.1和GraalVM CE 22.3.0和spring cloud 2022.0.0 我正在尝试使用 .netflix eureka 客户端构建我的服务的native-im ...
[英]Build Spring eureka client with graalvm native-image
很抱歉,因为这是我在堆栈溢出中的第一个问题,所以我希望我能正确解释这个问题...... 我正在使用spring boot 3.0.1和GraalVM CE 22.3.0和spring cloud 2022.0.0 我正在尝试使用 .netflix eureka 客户端构建我的服务的native-im ...
[英]Spring Boot AWS logging level
赏金将在 5 天后到期。 此问题的答案有资格获得+50声望赏金。 sonoerin正在寻找规范的答案。 我有几个连接到 Config Server 和 Eureka 的 Spring Boot 微服务。 都在 ECS 的 Docker 容器内运行。 他们很健谈,我想消除非关键消息。 2023- ...
[英]kotlin.reflect.jvm.internal.KotlinReflectionInternalError when running a native image with Spring Cloud Gateway and Spring Security
我已成功生成在 Kotlin 中实现的 Spring 云网关 (2022.0.0 - Spring Boot 3.0.0) 应用程序的本机映像。 我有以下安全配置: 当我运行本机图像时,它崩溃并出现以下异常: 此调用.addFilterAt(basicAuthenticationFilter(), ...
[英]Which Spring Cloud AWS version should be used with Spring Boot 3?
我正在尝试让SqsListener工作,但我不能使用 Spring Boot 3,它根本没有收到任何东西。 当我将 Spring 引导版本改回 2.X 时,一切正常。 我使用的是2.4.2版本的Spring云: 你能给我指出 spring 云的正确版本吗? 我需要为此使用里程碑版本吗? ...
[英]Overwrite properties coming from Config server
我正在使用配置服务器为我的应用程序获取属性,一旦我获取了它,我想使用环境变量覆盖一些属性,因为我的应用程序需要帮助。 ...
[英]Docker Connection Issue in Spring Boot Microservice - nested exception is java.net.ConnectException: Connection refused : configserver
我修改了一个Spring Boot微服务的例子,我在docker上运行所有服务时遇到问题。 创建每个服务的镜像文件后,我设计了一个 docker-compose.yml 来在 Docker 上运行所有服务。 我注意到一些服务抛出关于 configserver 的 ConnectException, ...
[英]Where does Spring Cloud AWS 2.x auto-configure the AmazonS3 bean?
我目前遇到了众所周知的启动失败,其中 Spring Cloud AWS 试图创建一个AmazonS3 bean 但没有定义区域。 在特定配置文件中,我根本不希望 Spring Cloud AWS 激活任何东西。 我已经使用cloud.aws.{sns,sqs}.enabled=false成功抑制了 ...
[英]Spring Sleuth Do not generate Trace Id and span Id and not communicating with Zipkin server
我正在尝试测试 spring cloud Zipkin。 当我向此 API 发出请求时,它不会生成跟踪 ID 或跨度 ID。 知道我错过了什么吗? 我的 Pom 依赖项 我的应用程序属性 我的控制器 日志: ...
[英]NoClassDefFoundError: org/springframework/cloud/util/PropertyUtils
我有一个新的应用程序,我试图让它工作。 我升级了版本 spring-boot至2.7.6 弹簧云到3.1.5 之后我开始在测试中收到以下错误: 如何找到包含 class org/springframework/cloud/util/PropertyUtils的依赖项? ...
[英]How to change routes url based on request body in spring cloud
我想根据 spring cloud 中 requestBody 中的一些值来路由请求,例如: 如果 requestBody 中 firstField 的值是firstField ,我想将此请求路由到/chagre api 否则,如果 requestBody 中firstField的值为 packa ...
[英]-SpringBoot 3 -Eureka registry server -(username & password registration problem)
spring-cloud-config-server 无法注册到 eureka spring-boot:3.0.0 spring-cloud.version: 2022.0.0-RC2 尤里卡应用.yml ` ` 配置服务器application.yml ` `控制台输出 ` ` ...
[英]FeignClient error: url values must be not be absolute
启动SpringBootApplication时报错: Unexpected exception during bean creation; nested exception is java.lang.IllegalArgumentException: url values must be not ...
[英]Spring Boot App is not showing in Axon Dashboard
我是 Spring 引导 CQRS 模式的新手。 我有一个 Spring 启动应用程序,我正在使用 jar 版本在本地主机上运行 Axon 服务器。 但是,我的应用程序没有出现在 Axon 仪表板中。 当我尝试运行我的应用程序时,我也收到以下错误。 我的pom.xml 以及项目仓库: Github ...
[英]What is the performance difference between using StreamBridge and defining MessageChannel bindings using the EnableBinding annotation?
这是文档中为外国事件驱动应用程序中的生产者建议的当前方法:@Autowired StreamBridge streamBridge; .... bridge.send("binding1" , message); bridge.send("binding2" , message); 以前使用 ...
[英]Spring Cloud Stream Kafka Binder incorrect partitioning
我正在使用org.springframework.cloud:spring-cloud-stream-binder-kafka库,但在主题中对消息进行分区时遇到了问题。 我的主题有 4 个分区,但我只在分区 0 中看到事件,即发布者没有正确划分事件。 当我检查主题分区(其中包含消息的分区)时,我确实 ...
[英]How do I integrate Data-Flow with Spring batch?
我有一个作为 db 到 db 的批处理应用程序,但它只适用于我的“本地”计算机。 我想将它与 spring 云数据流集成,以通过数据流查看和管理它。 有谁知道如何做到这一点? 我可以手动安装数据流吗,以前有人做过吗? 并且数据流接口在本地主机上运行。 但是现在如何将“本地”计算机上的批处理项目与“ ...
[英]Spring Boot 3.0.0 + Spring Cloud 2021.0.5 No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalancer?
我使用的是 Spring Boot 3.0.0、Spring Cloud 2021.0.5。 我有BillingServiceApplication.javapackage org.sid.billingservice; import org.sid.billingservice.entitie ...
[英]How to instrument Spring Boot 3.x with Spring Cloud Stream 4.x producers and consumers to correlate tracing information in loggers
升级到 Spring Boot 3 后,我不得不更新跟踪/关联配置以从 Spring Cloud Sleuth 切换到新的 Micrometer Tracing 库。 此时,我可以在日志中看到 traceId/spanId 信息,这些信息已通过自动检测的WebClient使用 HTTP 调用正确传输 ...
[英]Sleuth error while upgrading to Spring boot 2.7.5
我正在升级到 spring-boot 2.7.5 和 spring-cloud 2021.0.5。 我收到有关侦探的错误信息。 到目前为止完成的步骤: m2清洁 spring-cloud 版本 2021.0.4 和 2021.0.3 发生了变化,但同样的错误。 任何帮助将不胜感激。 ...
[英]Spring Boot Microservices - Spring Security - ServiceTest and ControllerTest for JUnit throwing java.lang.StackOverflowError
我在 spring 启动微服务之一(订单服务)中运行服务测试和 controller 测试中的任何测试方法时遇到问题。 在我完成服务和controller后,我尝试编写他们的测试方法,但我在那里遇到了问题。 我该如何解决? 这是订单服务的安全配置? 这是下面显示的 OrderServiceTest ...