this.couchClient = couchClient;
initChanges();
}
void initChanges() {
CouchDbInfo dbInfo = couchClient.context().info();
String since = dbInfo.getUpdateSeq(); // get latest update seq
LOG.debug("Last sequence [{}]", since);
changes = couchClient.changes().style(endpoint.getStyle()).includeDocs(true)
.since(since).heartBeat(endpoint.getHeartbeat()).continuousChanges();
}