Sample on Solace with Spring Cloud Bus

FWinkler79 Member Posts: 7
edited July 2020 in Connectors & Integrations #1

Hi everyone,
I recently created a simple sample that shows the use of Spring Cloud Bus (a lightweight enterprise message bus) with Solace PubSub+.
I was asked to share it here, in case some of you might find it helpful.
You can find the sample here.
Let me know what you think - unless you hate it... ;)


  • Tamimi
    Tamimi Member, Administrator, Employee Posts: 499 admin

    Woha nice! I'll check it out, thanks for the post 😄

  • marc
    marc Member, Administrator, Moderator, Employee Posts: 923 admin

    Thanks for sharing @FWinkler79. It's great to know that the Solace Spring Cloud Stream Binder works with Spring Cloud Bus, but I also love the detailed explanation of Spring Cloud Bus and Custom Events in your How Custom Events Work section. Spring should hire you to write their docs ;)

  • akg17
    akg17 Member Posts: 76

    How does the spring cloud bus with solace work with many instance or dynamic scale up and down.

    Is it like kafka if the group name is not configured it creates anonymous group for each instance ?

    Because i also have the requirement where not only i have to pass the same event to all micro-service and their instances.


    In solace i could achieve sharing the same message to each service by publishing message to a topic which is subscribed by many consumer but eventually stuck when application scales up and down. not all instance get same message.

  • marc
    marc Member, Administrator, Moderator, Employee Posts: 923 admin

    Hi @akg17,

    Please checkout the different communication model options in this codelab:

    I believe they should apply to spring cloud bus as well since it uses the cloud stream binder.