| String docId = sourceDoc.getId();
if( null == docId ){
throw new Exception("On document update, an _id is required");
}
StreamProducerDocumentUpdate producer = new StreamProducerDocumentUpdate(
sourceDoc
,documentDigest
,currentTargetDoc
,updateSpecifier
);
|