🎄 Happy Holidays! 🥳

Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.

Happy Holidays!

Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.

Sample on Solace with Spring Cloud Bus

FWinkler79
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... ;)
Cheers!

Comments

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

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

  • marc
    marc Member, Administrator, Moderator, Employee Posts: 963 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.

    Also...

    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: 963 admin

    Hi @akg17,

    Please checkout the different communication model options in this codelab: https://codelabs.solace.dev/codelabs/spring-cloud-stream-beyond/index.html?index=..%2F..index#2

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