@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