I try to make my application as fast as possible and tried to play with async in Hazelcast.
client = hazelcast.HazelcastClient(
async_start=True,
retry_jitter=0.2,
redo_operation=True,
smart_routing=False,
retry_max_backoff=15,
retry_multiplier=1.5,
retry_initial_backoff=1,
cluster_connect_timeout=120,
reconnect_mode=ReconnectMode.ASYNC,
lifecycle_listeners=[lambda state: print("Lifecycle event >>>", state)],
)
I run "hz" server via docker-compose(I attached the screenshot of the successful start)
However, when I run:
coinpairs_map = client.get_map("coinpairs-map")
I get this error:
hazelcast.errors.ClientOfflineError: No connection found to cluster