Comments (6)
Hi @Unlocker. Actually that message is benign. Its Kubernetes Readiness Probe hitting the JMS transport connection every 10 seconds to test that the connection is up. It's annoying to show as an error, but there doesn't seem to be a better way to test readiness at the moment.
from activemq-artemis-helm.
@DanSalt, thank you for the answer.
When I am running two or greater master nodes then I am expecting message and addresses replication is done. I have connected to one node and send a message, another node has nothing to receive and topic is not created.
I think this behavior relates a handshake TCP connection. Maybe it is my wrong opinion, isn't it?
from activemq-artemis-helm.
Hi @Unlocker. The cluster configuration is setup to include all masters (and slaves) as part of the known cluster. You can check this inside the ActiveMQ console by checking that you can see both masters in the cluster map.
However, by default, Message Replication is configured to work on demand, which means that it will only replicate the message if there is a consumer connected to the other broker for that destination.
Hope this helps.
from activemq-artemis-helm.
Hi @DanSalt. Your comments are very useful. I have read the "Clusters" chapter in the documentation. To make a symmetric distribution under a load balancer (Cluster IP service) I need:
- Set up all the queues and topics creation in broker.xml distributed with all Pods.
- Turn "message-load-balancing" in STRICT mode
I am expect that persistent messages can deliver any live broker instance regardless where are publisher and subscribers connected to. If it is right then issue can be closed.
from activemq-artemis-helm.
Hi @Unlocker . Glad it was useful.
To scale horizontally, I use the defaults as given in the charts here. I generally find that I do not need to pre-define any destinations in broker.xml, unless I have specific configuration I need to apply to them (QoS, etc.). Artemis (like AMQ) will auto-create destinations on-the-fly.
I generally stick to 'ON_DEMAND' for best performance. STRICT mode means that it will always distribute the messages, even if the other brokers don't have any consumers. Bear in mind that Artemis won't distribute messages for queues that have no consumers, even on STRICT mode.
Glad I could help, and good luck!
from activemq-artemis-helm.
Hi @Unlocker. Actually that message is benign. Its Kubernetes Readiness Probe hitting the JMS transport connection every 10 seconds to test that the connection is up. It's annoying to show as an error, but there doesn't seem to be a better way to test readiness at the moment.
Is there anything we can do about this? We're exporting stdout to kibana and it's a lot of logs to be shipping off for a readiness check.
Is there an actual health check on artemis that we can hit?
Could we do something like this: https://github.com/apache/activemq-artemis/blob/master/docs/user-manual/en/rest.md
from activemq-artemis-helm.
Related Issues (20)
- Connection fail HOT 12
- LoadBalancer service pendiing HOT 1
- Slave Readiness Probes faling HOT 3
- AMQ222092: Connection to the backup node failed, removing replication now: ActiveMQRemoteDisconnectException[errorType=REMOTE_DISCONNECT message=null]
- Messages arriving on the wrong master never consumed? HOT 8
- BUG: Missing security context for master and slave when using persistence mode. HOT 1
- Production ready? review 2020 HOT 7
- Broken Icon
- Github Actions for automatic Release HOT 2
- Office Hours? HOT 1
- https://vromero.github.io/activemq-artemis-helm/index.yaml is missing HOT 3
- Allow to specify a ConfigMap for config-override
- activemq-artemis ingress controller not works HOT 4
- PersistentVolume permissions HOT 1
- Remove Slave Nodes. HOT 3
- Failed to create netty connection with antiAffinity set to 'hard'
- Enable Prometheus metric
- Loadbalancing with external load balancer
- Getting Validation Error while helm install
- Issue when installing helmchart with rights in etc
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from activemq-artemis-helm.