Solace Community is getting a facelift!

On March 3rd we will be starting the process of migrating Solace Community to a new platform. As a result, Solace Community will go in to a temporary read-only state. You will still be able to come onto Solace Community and search through posts to find answers, but you won't be able to ask questions, post comments, or react in any way.

We hope to have the migration complete by Wednesday March 5th (or sooner), so please keep an eye out!

Can I make multiple topics in one topic endpoint?

Wonseog
Wonseog Member Posts: 1
I tried test this (1 endpoint, 2 topic) using 'try me' from two notebooks. But subscirbe to second topic I got ' Consumer could not bind to the topic endpoint: Max clients exceeded for durable topic endpoint' error. I increase 'Maximum Consumer Count' to 10, the result is same.
Is it not supported or any other configruation exists?

Answers

  • amackenzie
    amackenzie Member, Employee Posts: 270 Solace Employee

    Topic endpoints exist mainly to provide support for JMS durable topic subscriptions. Those are limited to a single subscription because the JMS API only supports a single subscription per topic.

    The alternative is to use queues. Queues accept multiple subscriptions and are always recommended over topic endpoints in all use cases that are not JMS durable topics.

    Solace best practices for persistent messages are to consume from a queue and publish to a topic. The topic can be added to 0-n queues as subscriptions and a queue can attract any number of topics.

This Month's Leaders

This Week's Leaders