Apache sling content reverse distribution in aem cloud | Adobe Higher Education
Skip to main content
Level 2
March 9, 2022
Beantwortet

Apache sling content reverse distribution in aem cloud

  • March 9, 2022
  • 2 Antworten
  • 2053 Ansichten

Hi experts,

 

Please let me know if anyone is able to successfully use Apache sling content 'reverse distribution' , queues are getting created in publisher but from author not able to pull it.

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von Nitin_laad

@aemlearner12 can you check with the below curl formate 

1. first add a content using path param and pull it back using below curl - see if it works

Pull - 

curl -u admin:admin http://localhost:4502/libs/sling/distribution/services/agents/reverse -d "action=PULL" -d 'path=/content/sample1'

 

2 Antworten

Nitin_laad
Community Advisor
Community Advisor
March 9, 2022

@aemlearner12 are you getting any error/exception in logs? were you able to push/pull content using curl?

Refer to the below link to get more info on the subject

Sling Content Distribution in AEM (Part 2) — Reverse Distribution | by Albin Issac | Tech Learnings | Medium

Level 2
March 10, 2022

Hi @nitin_laad ,

 

Thanks for replying, I could send the request to publish queue successfully.

 

curl -u admin:admin http://localhost:4503/libs/sling/distribution/services/agents/myreverse -d "action=ADD" -d "path=/home/users/system/users"

But when I try to pull in author using below command,

 

curl -u admin:admin http://localhost:4502/libs/sling/distribution/services/agents/reverse -d "action=PULL"

I am getting below response.

 

{"success":false,"state":"DROPPED"}
Kishore_Kumar_
Level 9
March 10, 2022

Hi @aemlearner12 ,

 

You are trying to pull /home paths from publisher to author. I am not sure on the requirement but just incase if you are trying for a User Sync among the publishers, you need to raise customer support ticket,

 

 

 

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/sites/authoring/personalization/user-and-group-sync-for-publish-tier.html?lang=en#data-synchronization 

Anish-Sinha
Adobe Employee
Adobe Employee
March 9, 2022

I did follow these to set it up and it worked for me. Please go through these steps and check if you have missed something:

https://www.youtube.com/watch?v=z6nf2QSUM8k

https://www.youtube.com/watch?v=5n45O5DMne4

 

 

Level 2
March 10, 2022

Hi @anish-sinha ,

 

Thaks for replying, I followed the steps mentiond in video but i was not able to pull the content from publisher to author, i am facing some problem, could u pls help, Issue is mentioned in @nitin_laad  reply section.