Also, OOTB, Sling Content Distribution is used to distribute content instead of reverse replication now. https://docs.adobe.com/docs/en/aem/6-2/administer/communities/sync.html
You should write a filter for the "createasset" servlet and pass the input stream to the scan method. Based on the returned result you can either go on with the method or return a 500 in your filter. Something like this. BufferedInputStreamParameter[] bufParams = new BufferedInputStreamParameter[sl...
Artie, If you use a FileSystemDataStore with TarMK, you can most definitely share it. You won't be able to share the DS if you aren't using FSDS. Hope that helps.
Kaustav, If your requirement is to just share the datastore, please use the FileSystemDataStore with TarMK and point multiple instances to the same path.
Mike, It is not recommended to have an architecture where a single dispatcher is talking to multiple publishers. This means that multiple publishers will have flush agents to the same dispatcher. Think of a situation where the same file gets flushed/invalidated by multiple dispatchers within a matte...