// feed type continuous
changes = dbClient.changes().includeDocs(true) .since('546').heartBeat(30000).continuousChanges();
// live access to continuous feeds
while (changes.hasNext()) {
ChangesResult.Row feed = changes.next();
String docId = feed.getId()
com.google.gson.JsonObject doc = feed.getDoc()
String seq = feed.getSeq()
Gson gson = new Gson()
String json = gson.toJson(doc);
System.out.println(json);
System.out.println("Event docId : " + docId + " - Sequence: " + seq)
System.out.println("Event Json doc: " + json)
// Send event to the Vertx event bus....
}