Expand my Community achievements bar.

Dispatcher Flush Agent

Avatar

Level 3

Hi Team,

 

As per Adobe recommendation to avoid "race condition", Dispatcher Flush Agent is configured in Publish Instance for our project.

Now, we want to use ACS common "Dispatcher Flush UI" (link below) feature which enables Author to clear flush manually.

https://adobe-consulting-services.github.io/acs-aem-commons/features/dispatcher-flush-ui/index.html

 

Problem Statement:

  1. This ACS tool requires dispatcher flush agent to be configured on Author. So what should be recommended approach in this scenario?
  2. Can we have dispatcher flush agent in both Author and Publish? Will it not make flush request twice?

 

Any suggestions would be appreciated. Thank you.

 

Regards,

KTNR

 

1 Reply

Avatar

Community Advisor

@arvindpandey it's pretty common to have dispatcher flush agents in both Author and Publishers..

 

Dispatcher agents in author will be configured with Ignore Default flag ON which means it will not act on regular publish activities.. it acts as a special agent triggered only when ACS commons Flush UI is used..

 

Dispatcher Agents in publisher will be configured with IGnore Default flag OFF so that all regular publish work we do in author goes to publisher and then picked up by this agent for flush activities.

 

Hope this helps.

 

Note: this setup doesn't work in AEM Cloud

 

https://adobe-consulting-services.github.io/acs-aem-commons/features/dispatcher-flush-ui/index.html