Requirements
-------------------------------------
1. JDK 17 or 21 suitable for your platform.

How to run
-------------------------------------
1. Unpack gridgain-cloud-connector-<version>.zip to some folder.

2. Correctly configure connector in application.properties file. Following properties are important:
    connector.base-url= # Connector url reachable from monitored clusters node. This url is used for cluster exporters configuration.
    connector.username= # Nebula or Control Center user email
    connector.password= # Nebula or Control Center user password

3. Start connector.{bat|sh} executable for your platform.

Technical details
-------------------------------------
# Package content:
    `libs` - this folder contains Connector dependencies.
    `work` - this folder contains logs

# Connector configuration
connector.cc-url=   # Nebula or Control Center url
connector.base-url= # Connector url reachable from monitored clusters node. This url is used for cluster exporters configuration.
connector.name=     # Connector name
connector.username= # Nebula or Control Center user email
connector.password= # Nebula or Control Center user password
server.port=        # Connector port

# Monitoring configuration
connector.cluster.monitoring.heartbeat-max-retry-attempt=0 # Max failed heartbeat attempts before cluster considered disconnected. By default, 0 which means any heartbeat fail leads to cluster disconnect.
connector.cluster.monitoring.heartbeat-interval=1000 # The interval between the GG9 cluster heartbeats. By default, 1000 milliseconds.
connector.cluster.monitoring.timeout=20000 # The monitoring cycle timeout. By default, 20000 milliseconds.
connector.cluster.monitoring.interval=20000 # The interval between monitoring cycles. By default, 20000 milliseconds.

# Sql configuration
connector.sql.execute-timeout=1h # The timeout of SQL script execution. By default, 1 hour.
connector.sql.query-timeout=1h   # The timeout of SQL query execution. By default, 1 hour.
connector.sql.fetch-timeout=10m  # The timeout of cursor fetch execution. By default, 10 minutes.
connector.sql.cursor-timeout=1h  # The cursor lifetime duration. If cursor in not fetched within this period, it is closed. By default, 1 hour.
