Setting up cross-site with replication

I am trying to setup Keycloak using cross-site replication mode as described here : Server Installation and Configuration Guide but i am not able to get it working. I am using Keycloak 19.0.3 (unfortunately latest server installation documents do not have this guide anymore) - i have tried to setup two instances of infinispan locally as per instructions but my cross views are not correct as show below. Any advice would be appreciated.

kc-cluster-infinispan-server-1 | 2023-01-02 14:46:13,581 INFO (jgroups-9,server1) [org.infinispan.XSITE] ISPN000439: Received new cross-site view:
kc-cluster-infinispan-server-2-1 | 2023-01-02 14:46:13,582 INFO (jgroups-10,server2) [org.infinispan.XSITE] ISPN000439: Received new cross-site view: [site2]