Keycloak Quarkus with 2 nodes

Using this I found out that the configuration for clustering with UDP-PING should be like below.
This configurations didn’t cause any error:

  • server 1:
  <jgroups>
<stack name="company-ping-udp" extends="udp">
<UDP bind_addr="${jgroups.bind.address,jgroups.udp.address:<IP_SERVER_1>}"
bind_port="${jgroups.bind.port,jgroups.udp.port:55200}"
mcast_addr="${jgroups.mcast_addr:230.0.0.4}"
mcast_port="${jgroups.mcast_port:45688}"
tos="0"
ucast_send_buf_size="1m"
mcast_send_buf_size="1m"
ucast_recv_buf_size="20m"
mcast_recv_buf_size="25m"
ip_ttl="${jgroups.ip_ttl:2}"
thread_naming_pattern="pl"
enable_diagnostics="false"
bundler_type="transfer-queue"
max_bundle_size="8500"

thread_pool.min_threads="${jgroups.thread_pool.min_threads:0}"
thread_pool.max_threads="${jgroups.thread_pool.max_threads:200}"
thread_pool.keep_alive_time="60000"

thread_dumps_threshold="${jgroups.thread_dumps_threshold:10000}" />
</stack>
  </jgroups>
  • server 2:
  <jgroups>
<stack name="company-ping-udp" extends="udp">
<UDP bind_addr="${jgroups.bind.address,jgroups.udp.address:<IP_SERVER_2>}"
bind_port="${jgroups.bind.port,jgroups.udp.port:55200}"
mcast_addr="${jgroups.mcast_addr:230.0.0.4}"
mcast_port="${jgroups.mcast_port:45688}"
tos="0"
ucast_send_buf_size="1m"
mcast_send_buf_size="1m"
ucast_recv_buf_size="20m"
mcast_recv_buf_size="25m"
ip_ttl="${jgroups.ip_ttl:2}"
thread_naming_pattern="pl"
enable_diagnostics="false"
bundler_type="transfer-queue"
max_bundle_size="8500"

thread_pool.min_threads="${jgroups.thread_pool.min_threads:0}"
thread_pool.max_threads="${jgroups.thread_pool.max_threads:200}"
thread_pool.keep_alive_time="60000"

thread_dumps_threshold="${jgroups.thread_dumps_threshold:10000}" />
</stack>
  </jgroups>

@Kortex Thanks so much for all your help