Can anyone please explain about the below note on AEM cloud? | Community
Skip to main content
Prince_Shivhare
Community Advisor
Community Advisor
June 28, 2021
Solved

Can anyone please explain about the below note on AEM cloud?

  • June 28, 2021
  • 2 replies
  • 3944 views

I know about this Article - Apart from this if any other information.

https://medium.com/adobetech/introduction-to-aem-as-a-cloud-service-asset-upload-http-api-fc560ffd7221

No Reverse Replication Agents

Reverse replication from Publish to Author is not supported in AEM as a Cloud Service. If such a strategy is needed, you can use an external persistence store that is shared amongst the farm of Publish instances and potentially the Author cluster.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by MarkusBullaAdobe

Hi @prince_shivhare!

Your post refers to two different topics for AEM as a Cloud Service (AEMaCS):

  1. Reverse Replication (referenced in your quote)
  2. Processing and streaming of assets (referenced in the screenshot and the article)

IMO, these are not or at least very loosely connected

 

Reverse Replication

AEMaCS does not provide Reverse Replication of content as it has been known from AEM 6.5 (and earlier). The feature was mainly used for user generated content (UGC), e. g. comments, posts, ratings that your end users could leave at your website. This content would then be replicated from the publish instance where it was initially created back to the authoring instance and re-distributed to all publish instances in place (potentially running through a moderation process on the author side before being distributed).

This practice is no longer supported for AEMaCS. If you need to store user generated content (or have similar use case) the recommendation for AEMaCS is to use a dedicated, shared storage (e. g. external database) or leverage alternative integration patterns (e. g. client-side integration of external services).

 

Processing and streaming of assets

The process of asset handling has changed quite a bit for AEMaCS compared to non-cloud AEM setups. Asset processing is now being handled by the Asset Compute Microservice and assets are stored in a binary cloud storage that has a dedicated content delivery network (CDN). For non-cloud AEM, assets are processed within the AEM instance and delivered from there (unless you have Dynamic Media in place for asset delivery). For AEMaCS this comes with a changed pattern of how you can (and should) access asset binaries in your code (as mentioned in the development guidelines in your screenshot).

 

Did this answer your question?

If not, please add some details on what information you are looking for.

 

Hope that helps!

2 replies

MarkusBullaAdobe
Adobe Employee
MarkusBullaAdobeAdobe EmployeeAccepted solution
Adobe Employee
June 28, 2021

Hi @prince_shivhare!

Your post refers to two different topics for AEM as a Cloud Service (AEMaCS):

  1. Reverse Replication (referenced in your quote)
  2. Processing and streaming of assets (referenced in the screenshot and the article)

IMO, these are not or at least very loosely connected

 

Reverse Replication

AEMaCS does not provide Reverse Replication of content as it has been known from AEM 6.5 (and earlier). The feature was mainly used for user generated content (UGC), e. g. comments, posts, ratings that your end users could leave at your website. This content would then be replicated from the publish instance where it was initially created back to the authoring instance and re-distributed to all publish instances in place (potentially running through a moderation process on the author side before being distributed).

This practice is no longer supported for AEMaCS. If you need to store user generated content (or have similar use case) the recommendation for AEMaCS is to use a dedicated, shared storage (e. g. external database) or leverage alternative integration patterns (e. g. client-side integration of external services).

 

Processing and streaming of assets

The process of asset handling has changed quite a bit for AEMaCS compared to non-cloud AEM setups. Asset processing is now being handled by the Asset Compute Microservice and assets are stored in a binary cloud storage that has a dedicated content delivery network (CDN). For non-cloud AEM, assets are processed within the AEM instance and delivered from there (unless you have Dynamic Media in place for asset delivery). For AEMaCS this comes with a changed pattern of how you can (and should) access asset binaries in your code (as mentioned in the development guidelines in your screenshot).

 

Did this answer your question?

If not, please add some details on what information you are looking for.

 

Hope that helps!

Prince_Shivhare
Community Advisor
Community Advisor
June 28, 2021

Hello Markus,
Thanks for your reply.
sorry for the wrong content but the screenshot was correct. so I got your comment that we should not stream the binary.
So I will explain my issue, I am using bazaarvoice in my application for product ratings & reviews.
We are trying to integrate the AEM cloud with the SFTP server. where we can send and get the file from the SFTP server. now once we have those files into AEM, we are using the node jcr:data to read the content which requires the below code.
So can we use this in AEM as a cloud service? like doing getBinary().getStream().
we are keeping reviews and rating files under the /etc and using system users to read. additionally, we are also keeping a backup of 14 days for the files.
Can you please help me here?

Node fileNameNode = jcrsession.getNode(filePath + "/jcr:content/renditions/original");
Node contentNode = fileNameNode.getNode("jcr:content");
inputstream = contentNode.getProperty("jcr:data").getBinary().getStream();

 

ruchim71073425
Level 2
May 14, 2024

Hi @prince_shivhare 

 

How did you end up  implementing the BazaarVoice integration with AEMaaCS?

We are about to get on that journey and wanted to understand the issues, if any.

 

Thanks

Ruchi

Prince_Shivhare
Community Advisor
Community Advisor
May 14, 2024

Hey Ruchi,

 

Yes, we implemented it.

Let me know what sort of information you need.

ruchim71073425
Level 2
June 4, 2024

Thanks Prince.

I wanted to understand why you went with the SFTP route. From the information we have been provided by BV team, we just need to add some divs and a script in our templates and the review widget will be populated on the pages. All moderation will happen at BV end.

Is that not the case or was your requirement different?

 

Regards

Ruchi