Skip to content

Application fails to start when using Google PubSub binder in multi-binder scenario #3046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
chrissalerno opened this issue Nov 21, 2024 · 1 comment
Labels

Comments

@chrissalerno
Copy link

chrissalerno commented Nov 21, 2024

Scenario

Similar to the issue logged #3013

It seems that the PubSub binder has the same issue when trying to run it in a multi binder setup. In my scenario, I was trying to have two different input binders, one for pubsub and another for Solace. As soon as both were introduced, in addition to the additional environment variables being configured for the PubSub binder, the application would begin to not start up.

Problem

App fails to start w/ following message:

No qualifying bean of type 'org.springframework.cloud.stream.binder.Binder<?, ?, ?>' available

Details

The following guide was followed this guide to configure the binders w/ the following yaml:

binders:
   pubsub:
      type: pubsub
      environment:
         spring:
            cloud:
              gcp:
                project-id: example-prokect-id

As soon as the environment properties are removed the application starts up again.

@olegz olegz added the wontfix label Dec 5, 2024
@olegz
Copy link
Contributor

olegz commented Dec 5, 2024

Google PubSub binder is not maintained by the Spring team, please contact the maintainer with this issue

@olegz olegz closed this as completed Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants