How to I bring content from Publish to Author instance (Use Cases brining user generated content) back to author instance in AEMaaCS?
Replication Agent? Any best practice?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Prithwiraj_Deb,
personally, I consider content backflow a bad architectural pattern and a relic from the past. I would strongly suggest looking for 3rd party solution or building your own microservices for storing and delivering user-generated data.
Good luck,
Daniel
You can try ACS commons content sync tools. Works well for syncing content from publish to author. More details - https://adobe-consulting-services.github.io/acs-aem-commons/features/contentsync/index.html
Never tried with UGC though.
How about sling reverse replication as a method ?
https://medium.com/@toimrank/aem-replication-and-reverse-replication-ebaf0f5f322c
In AEM as a Cloud Service (AEMaaCS), reverse replication is not supported. You can refer to the official documentation for more details: AEM Cloud Changes - Replication Agents.
I believe there is confusion around terms. Replication is a word used when we talk about AEM on-prem. When we talk about AEMaaCS the wording is distribution. So you both may be right.
@Prithwiraj_DebBut is seams that the documentation talks really clear about hot to set up SRD:
org.apache.sling.distribution.agent.impl.ReverseDistributionAgentFactory-reverse.json
name="reverse"
packageExporter.endpoints=["http://localhost:4503/libs/sling/distribution/services/exporters/reverse"]
org.apache.sling.distribution.agent.impl.QueueDistributionAgentFactory-reverse.json
name="reverse"
org.apache.sling.distribution.packaging.impl.exporter.AgentDistributionPackageExporterFactory-reverse
name="reverse"
agent.target="(name=reverse)"
Have you tried it and is not working for you ?
Some addition materials that may help you:
https://aemtechblog.medium.com/content-distribution-in-aem-as-a-cloud-service-d457b390f8f9
https://medium.com/tech-learnings/sling-content-distribution-in-aem-part-2-3a66933be45d
In AEM CS you cannot use content distribution or replication to get content from publish to author; this pattern is not supported.
Hi @Prithwiraj_Deb,
personally, I consider content backflow a bad architectural pattern and a relic from the past. I would strongly suggest looking for 3rd party solution or building your own microservices for storing and delivering user-generated data.
Good luck,
Daniel
@Prithwiraj_Deb I agree with Daniel. UGC should be stored in common data store like Mongo to be accessible from both Author and Publish instances or consider using third party products like Lithlum or salesforce to store UGC.
Views
Likes
Replies
Views
Likes
Replies