Coder Social home page Coder Social logo

Comments (8)

micgn avatar micgn commented on July 19, 2024 1

@DanSalt -- you are a hero and certainly get some beer for free when coming to Munich...

from activemq-artemis-helm.

DanSalt avatar DanSalt commented on July 19, 2024

Hi @micgn,

See the config line here:
https://github.com/vromero/activemq-artemis-helm/blob/master/activemq-artemis/templates/configmap.yaml#L40

This tells Artemis that if there are consumers connected on the other broker, to replicate messages to them.

From the Artemis Documentation:

If this is set to ON_DEMAND then Apache ActiveMQ Artemis will only forward messages to other nodes of the cluster if the address to which they are being forwarded has queues which have consumers, and if those consumers have message filters (selectors) at least one of those selectors must match the message. Using ON_DEMAND is like setting the legacy forward-when-no-consumers parameter to false.

Hope this helps,

Cheers,
Dan

from activemq-artemis-helm.

micgn avatar micgn commented on July 19, 2024

Thanks for the hint, but in my tests on the cloud the messages are also practically not consumed. Wondering what is wrong. Might be that I have a problem on the client side in the way I create my ActiveMQConnectionFactory. Any idea how I should connect?

from activemq-artemis-helm.

micgn avatar micgn commented on July 19, 2024

Actually I find no way to get this working - producers and consumers end up on different brokers and no replication does happen.

from activemq-artemis-helm.

DanSalt avatar DanSalt commented on July 19, 2024

Hi @micgn -- out of interest, what are your queue/topics called? I notice that the current charts are using the configuration where they will only cluster destinations starting with "jms"
https://github.com/vromero/activemq-artemis-helm/blob/master/activemq-artemis/templates/configmap.yaml#L32

In our local deployment, we have that removed, so that all destinations are clustered.
e.g.
<address></address>

Maybe worth trying that and see if it helps you?

from activemq-artemis-helm.

DanSalt avatar DanSalt commented on July 19, 2024

@micgn -- great to hear!! Wondering I should create a PR that sets that to empty by default. @vromero what do you think?

from activemq-artemis-helm.

micgn avatar micgn commented on July 19, 2024

Well after loosing almost a day on this I would certainly vote for yes...

from activemq-artemis-helm.

vromero avatar vromero commented on July 19, 2024

@DanSalt is a hero indeed. Thanks for keeping an eye on the project's issues.
I'm happy to merge such a change.

from activemq-artemis-helm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.