AEM:レプリケーションキューの監視方法

説明 description

環境

  • AEM 6.5
  • Adobe Experience Manager

問題/症状

公開プロセスが期待どおりに進まない場合、レプリケーションキューが停止する場合があります。

注意:ほとんどの場合、公開プロセスが期待どおりに進まないと、レプリケーションキューが停止する可能性があります。 レプリケーションキューを監視すると、静止状態が効果的に認識できます。

解決策 resolution

レプリケーションキュー内のコンテンツのリストを取得するには、 次の URL.

結果:

{
metaData: {
root: "queue",
queueStatus: {
agentName: "Default Agent",
agentId: "publish",
isBlocked: false,
isPaused: false,
time: 1683837270303,
processingSince: 1683837270301,
lastProcessTime: 1683837270270,
nextRetryPeriod: -1683837270304
},
fields: `[`
"id",
"path",
"time",
"userid",
"type",
"size",
"lastProcessed",
"numProcessed"
`]`
},
queue: `[`
{
id: "2023/5/12/5/34/c80e9a48-1b7e-4e12-8775-5f733016e13e_3646",
path: "/content/we-retail/us/en/products/equipment/running/faba-running-pants",
time: 1683837231021,
userid: "admin",
type: "Deactivate",
size: 0,
lastProcessed: 0,
numProcessed: 0
},
{
id: "2023/5/12/5/34/c80e9a48-1b7e-4e12-8775-5f733016e13e_3695",
path: "/content/we-retail/ca/en/products/equipment/hiking/expedition-tech-long-sleeved-shirt",
time: 1683837231021,
userid: "admin",
type: "Deactivate",
size: 0,
lastProcessed: 0,
numProcessed: 0
}
`]`
}

cURL を含む URL に定期的にアクセスすることをお勧めします。 「パス」の値はコンテンツのパスです。 結果からパス値をカウントして、レプリケーションキュー内のコンテンツの数を確認できます。

例:
curl -u < ユーザー> :< パスワード> "http://localhost:4502/etc/replication/agents.author/publish/jcr:content.queue.json"

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f