错误提示:没有默认的绑定
Failed to start bean ‘outputBindingLifecycle’; nested exception is java.lang.IllegalStateException: A default binder has been requested, but there is more than one binder available for ‘org.springframework.cloud.stream.messaging.DirectWithAttributesChannel’ : rabbit,kafka, and no default binder has been set.
1、加配置 spring.cloud.stream.function.autodetect=false,参考博客:https://blog.csdn.net/github_38730134/article/details/118525184 (未完全解决,不知道为啥有的服务可以用,有的还是用不了)
2、加配置:spring.cloud.stream.default-binder:rabbit



