<?xml version="1.0" encoding="UTF-8"?>

<hazelcast xmlns="http://www.hazelcast.com/schema/config"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://www.hazelcast.com/schema/config
           http://www.hazelcast.com/schema/config/hazelcast-config-4.1.xsd">

    <network>
        <join>
            <!-- Multicast is disabled by default to avoid latency when starting gateway -->
            <multicast enabled="false" />
        </join>
    </network>

    <map name="apikeys">
        <!-- Eviction is managed programmatically-->
        <eviction eviction-policy="NONE" size="0"></eviction>
    </map>

    <map name="subscriptions">
        <!-- Eviction is managed programmatically-->
        <eviction eviction-policy="NONE" size="0"></eviction>
    </map>

    <queue name="heartbeats">
        <!-- By default, gateway emits one event every 5 seconds-->
        <!-- Keep 1 hour of events -->
        <max-size>720</max-size>
    </queue>

    <map name="apis">
        <!-- Eviction is managed programmatically-->
        <eviction eviction-policy="NONE" size="0"></eviction>
    </map>
</hazelcast>
<?xml version="1.0" encoding="UTF-8"?>

<hazelcast xmlns="http://www.hazelcast.com/schema/config"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://www.hazelcast.com/schema/config
           http://www.hazelcast.com/schema/config/hazelcast-config-4.1.xsd">

    <network>
        <join>
            <!-- Auto-detection and multicast are disabled by default to avoid latency when starting gateway -->
            <auto-detection enabled="false"/>
            <multicast enabled="false" />
        </join>
    </network>

    <map name="apikeys">
        <!-- Eviction is managed programmatically-->
        <eviction eviction-policy="NONE" size="0"></eviction>
    </map>

    <map name="subscriptions">
        <!-- Eviction is managed programmatically-->
        <eviction eviction-policy="NONE" size="0"></eviction>
    </map>

    <queue name="heartbeats">
        <!-- By default, gateway emits one event every 5 seconds-->
        <!-- Keep 1 hour of events -->
        <max-size>720</max-size>
    </queue>

    <map name="apis">
        <!-- Eviction is managed programmatically-->
        <eviction eviction-policy="NONE" size="0"></eviction>
    </map>
</hazelcast>
Disable auto detection for Hazelcast 4.x
fix(cluster): Disable auto detection for Hazelcast 4.x

Closes gravitee-io/issues#5391
