I have the following setup:
server
and client
nodes are deployed to Tomcat with item
channel set to 0 on client. Everytime user presses a button that channel is set to 1, I wait till it synchronizes all and then set it to 0 again. I need to create a page on server
, that would contain a table with rows | client
| time he last connected (pressed a button)
|. I want to know, is there a way to do that using SymmetricDS ways, like heartbeats?
I realized, that if I started/stopped client node instead of setting channels to 0, I could've just added these to .properties
file:
start.heartbeat.job=false
heartbeat.sync.on.startup=true
and then just query sym_data
table, but starting a node is long, and time is of the essense.
Any suggestions?