zendesk / maxwell

Maxwell's daemon, a mysql-to-json kafka producer
https://maxwells-daemon.io/
Other
4.05k stars 1.01k forks source link

Diagnostics allways returns success:false #2114

Open zolgera opened 1 month ago

zolgera commented 1 month ago

I have maxwell running with connection to the master and the connector is working and reacting on changes in the master (inserts, updates, deletes, ...)

I am running rabbitmq mode

The diagnostics endpoint is always returning success:false

I increased the timeout but same result

{
    "success": false,
    "checks": [
        {
            "name": "binlog-connector",
            "success": false,
            "mandatory": true,
            "resource": "mysql:3306",
            "message": "check did not return after 60000 ms"
        }
    ]
}

Tried to figure out in the sourcecode what diagnostic actually does but did not get far (java not really my thing :))

EDIT: Just saw in the readme | /diagnostics | for kafka, send a fake message that measures the client to server latency |

So am I right that the diagnostics only works for Kafka instances?

Is there a way to see if the connection to the configured replication_host is still up or it got droped? Like part of the healthchecks?

zolgera commented 1 month ago

Is the Custom health check the only option?