The auto-configuration for Rabbit Streams looks at the spring.rabbit.stream.* properties for various settings, sometimes falling back to a more general spring.rabbit property:
https://github.com/spring-projects/spring-boot/blob/99142dbbb2d4d3454051e49ec1aeab7b62991990/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitStreamConfiguration.java#L102-L115
This fallback logic is incorrect as it ignores any RabbitConnectionDetails that may have been defined so, for example, a @ServiceConnection for Rabbit running in a container won't work correctly when using streams.