
.hazelcast.5.3.6.source-code.hazelcast-client-default-assembly.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright (c) 2008-2023, 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.3.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.3.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 - 2025 Weber Informatics LLC | Privacy Policy