简体   繁体   中英

java-Hazelcast configurable transport layer

I'm using Hazelcast cluster manager on my distributed Java application and I want to configure Hazelcast to use UDP, specifically for the event bus. My understanding is that Hazelcast will create point-to-point TCP connections while using the event bus. Is there any way to configure Hazelcast to use UDP and multicast events across the cluster?

UDP is the default discovery mechanism for Hazelcast, TCP needs to be explicitly enabled. See documentation for setting up Hazelcast discovery: http://docs.hazelcast.org/docs/3.10.4/manual/html-single/index.html#setting-up-clusters

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM