Skip to content

No bean named 'streamBridge' available. Spring Cloud Function + Stream Kafka Binding integration. #1789

Closed
@VitaliyKulikov

Description

@VitaliyKulikov

Describe the bug

[25654a3a-4]  500 Server Error for HTTP GET "/v3/api-docs"

org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'streamBridge' available

Those packages don't work together:

implementation 'org.springframework.cloud:spring-cloud-starter-function-webflux'
runtimeOnly 'org.springframework.cloud:spring-cloud-starter-stream-kafka'
runtimeOnly "org.springdoc:springdoc-openapi-webflux-ui:latest.release"

If you remove spring-cloud-starter-stream-kafka everything is fine.

To Reproduce
Expected behavior

Here is the codebase and guide: https://github.com/VitaliyKulikov/functions-rulez-issues#1-swagger-is-not-loading-show-error

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions