-
Notifications
You must be signed in to change notification settings - Fork 68
Timeout while handshaking was occured #23
Comments
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. |
@DanSalt, thank you for the answer. |
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. |
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:
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. |
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! |
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 |
I have installed a chart with 2 replicas set with a static cluster configuration.
First I fixed domain naming issue so a bridge been estabilished.
But logs from master nodes contains errors
The text was updated successfully, but these errors were encountered: