AEM Batch Replication

Avatar

Avatar
Validate 1
Level 1
demobuster
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
demobuster
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
demobuster
Level 1

03-02-2020

Hi everyone,

 

we're interested in taking advantage of batch replication though we have troubles configuring it the right way.

 

On publish instance we've set up Flush Agent to support batch mode. Also HTTP Method was changed from GET to POST to allow list of paths passed in request's body.

screenshot.png

 

Then when Flush Agent performs the request it returns 200-OK response. However there are errors in dispatcher log:

[Sun Feb 02 23:02:40 2020] [I] [pid 12 (tid 140047550482176)] Activation detected: action=Activate [batch:]
[Sun Feb 02 23:02:40 2020] [E] [pid 12 (tid 140047550482176)] URI not canonical: batch:.
[Sun Feb 02 23:02:40 2020] [E] [pid 12 (tid 140047550482176)] URI not canonical: batch:.
[Sun Feb 02 23:02:44 2020] [I] [pid 12 (tid 140047550482176)] "POST /dispatcher/invalidate.cache" 200 13 4560ms [toryburch_farm/-]

 

On top of that stat files created in directories except the ones where they should be therefore auto-invalidation fails.

 

Could someone please give us an advice on how to configure the agent properly?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,134 likes

Total Posts

3,161 posts

Correct reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,134 likes

Total Posts

3,161 posts

Correct reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
Jörg_Hoh
Employee

03-02-2020

batch replication only works for the replication between AEM instances, not for the invalidation towards the dispatcher.

 

(Good point, obviously noone ever tried that before ... in case you have already created a support ticket with Adobe, please ask them to update the documentation to point it out explicitly.)

Answers (0)