All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.hazelcast.5.1-BETA-1.source-code.hazelcast-client-default-assembly.xml Maven / Gradle / Ivy

There is a newer version: 5.5.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved.
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<!--
  The default Hazelcast client configuration used in hz-cli script.

  This file differs from hazelcast-client-default.xml in some settings
  and it is used in the ZIP/TAR distributions,
  which are the basis for other distributions like docker & package managers.

  To learn how to configure Hazelcast, please see the schema at
  https://hazelcast.com/schema/client-config/hazelcast-client-config-5.1.xsd
  or the Reference Manual at https://docs.hazelcast.com/
-->

<!--suppress XmlDefaultAttributeValue -->
<hazelcast-client xmlns="http://www.hazelcast.com/schema/client-config"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://www.hazelcast.com/schema/client-config
                  http://www.hazelcast.com/schema/client-config/hazelcast-client-config-5.1.xsd">

    <network>
        <cluster-members>
            <!--
            List of addresses for the client to try to connect to.
            All members of a Hazelcast cluster accept client connections.
            Use the format <hostname>:<port>
            If a port number is not specified, port range 5701-5703 will
            be tried.
            -->
            <address>127.0.0.1</address>
        </cluster-members>
        <!--
        Whether client should discover and connect other members in the
        cluster and route requests to them or only connects to the members
        listed above.
        -->
        <smart-routing>false</smart-routing>
    </network>
    <connection-strategy>
        <connection-retry>
            <!--
            How long the client should keep trying connecting to the server.
            -->
            <cluster-connect-timeout-millis>1000</cluster-connect-timeout-millis>
        </connection-retry>
    </connection-strategy>
</hazelcast-client>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy