Hazelcast 非广播 集群配置

<hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.3.xsd"
           xmlns="http://www.hazelcast.com/schema/config"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <group>
        <name>dev</name>
        <password>dev-pass</password>
    </group>
    <network>
        <port auto-increment="false" >5701</port>
        <join>
            <tcp-ip enabled="true">
                <address>127.0.0.1:9999</address>
            </tcp-ip>
       </join>
    </network>
</hazelcast>


log4j 日志输出

config.getProperties().put(GroupProperties.LOGGING_TYPE,"log4j");



你可能感兴趣的:(hazelcast,集群配置,非广播)