클러스터링
- 테스트환경 : V3.X
- 잡설 : 임베디드 모드로 실행하면 클러스터링 동작 안함
cluster.xml
<join>
<multicast enabled="true">
<multicast-group>224.2.2.3</multicast-group>
<multicast-port>54327</multicast-port>
</multicast>
<tcp-ip enabled="false">
<interface>xxx.xxx.xxx.xxx</interface>
</tcp-ip>
....
<join>
<interfaces enabled="true">
<interface>xxx.xxx.xxx.xxx</interface>
<interface>xxx.xxx.xxx.xxx</interface>
</interfaces>
실행
Main class : io.vertx.core.Starter
Arguments : run platform.vertx.EchoServer -cluster -cluster-host xxx.xxx.xxx.xxx
-cluster-host는 해당 서버 아이피 (중요)