@KaustubaTM First of all, you need to write the custom JobManager and
Jobconsumer to handle the page replication event.You have to use
VersionManger API to handle the page versions.see the following useful
links1.
https://docs.adobe.com/content/help/en/experience-manager-64/developing/platform/dev-offloading.html2.
https://www.programcreek.com/java-api-examples/?api=javax.jcr.version.VersionManager
Hope this will help.. Thanks & Regard,Suraj Kamdi