Şöyle yaparız
CREATE DATA CONNECTION "my-hazelcast-cluster"
TYPE Hz
SHARED
OPTIONS (
'client_xml'=
'<?xml version="1.0" encoding="UTF-8"?>
<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">
<cluster-name>dev</cluster-name>
<network>
<cluster-members>
<address>172.17.0.2:5701</address>
</cluster-members>
</network>
</hazelcast-client>'
);
Hiç yorum yok:
Yorum Gönder