tolitius / hface

look your Hazelcast cluster in the face!
Eclipse Public License 1.0
74 stars 14 forks source link

How can i connect hazelcast cluster using URL ? #12

Open pkgonan opened 4 years ago

pkgonan commented 4 years ago

Hi. @tolitius

Is there any solution of connecting without IP address ? I want to use only URL.

[now] :hz-client {:hosts ["127.0.0.1" "127.0.0.2"]

[I want to use] :hz-client {:hosts ["http://aaa.com"]

Thank you very much. :)

tolitius commented 4 years ago

given that aaa.com listens on default hazelcast ports (between 5701 and 5801) it should work:

:hz-client {:hosts ["aaa.com"]

hface calls chazel that calls hazelcast API directly to pass this list of hosts / ips.