Home Analytics Adobe Experience Manager Distribution-Based Publication

Adobe Experience Manager Distribution-Based Publication

by datatabloid_difmmk

The term “distribution”, when referring to distributing content, means the ability to select one or more resources in a particular Sling instance and copy and persist them to another Sling instance. Sling content distribution (SCD) is an open source framework for distributing resources between Sling instances, maintained as part of the Apache Sling project.

Adobe Experience Manager (AEM) as a Cloud Service has changed the way content is published. AEM as a Cloud Service no longer uses the replication framework from previous versions of AEM to publish content. AEM as a Cloud Service uses the Sling Content Distribution feature to move the right content. AEM as a Cloud Service uses pipeline services that run on Adobe I/O outside of the AEM runtime.

Sling Content Distribution configuration is backed by OSGi configuration. Each SCD OSGi configuration instantiates a distribution component in the background. Critical SCD components include distribution agents, exporters, importers, and secret providers. The API works at the path level and the Distribution Agent enables distribution of specific paths between instances. The purpose of SCD is to be reliable, simple, and extensible.

The Sling Content Distribution Module can distribute content in the following ways:

  • Forward distribution: “push” the content to the target instance
  • Reverse distribution: “Pull” content from remote source instances
  • Synchronous distribution: “Synchronize”, i.e. synchronize content across multiple instances with the coordinating instance
Image 1

forward distribution

A transfer distribution setup allows you to transfer content from a source instance (author) to a farm of target instances (publisher). This is done by pushing content from source to target. Configuring forward distribution is very simple and requires information about the target instance. It can be enabled by adding some OSGi configuration to the source and target instances.

How to set up forward distribution
  1. Configure a local importer on the target instance to receive content from the source instance.The configuration object is LocalDistributionPackageImporterFactory
  2. Configure a “forwarding” agent on the source instance that points to the URL of the importer on the target instance. The configuration object is ForwardDistributionAgentFactory.
  3. Forward distribution can also be used for proxy activation. Replication proxies to the author’s forward Distribution Agent. A way to do this is to use Distribution as the serialization type and use it in the transport URI distribution://{agentName}. So when content is published, it will be replicated to the publishing instance. Note: This applies when setting up replication agents on AEM versions 6.5 and earlier.

image 2

Image 3

Image 4

Image 6

reverse distribution

A reverse distribution setup allows you to transfer content from one or more source instances (publishers) to target instances (authors). This is done by pulling content from the source instance to the target instance. Configuring reverse distribution is similar to the procedure for forward distribution. This is enabled by adding his OSGi configuration to the target and source instances.

How to set up reverse distribution
  1. Configure a “queue” agent and a package exporter on the source instance. That is, AgentDistributionPackageExporter and QueueDistributionAgent.
  2. Configure a “reverse” agent on the target instance. In other words, the ReverseDistributionAgentFactory points to the exporter’s URL on the source instance. You can configure multiple publisher endpoints.

Image 6

image 7

Synchronous delivery

Synchronous distribution allows changes made in one publish instance to be synchronized across the publish farm via author instances. Changes are automatically synced between publish instances in the farm and are not made on the author. This is done by authors taking content from a source instance (publish) and distributing it to other publish instances on the farm.

Sling distribution only sends change data to the publish instance, not the originator. Configuring synchronous distribution is more complicated than other distribution types. The author instance acts as a coordinator instance and helps distribute content to all target/publisher instances.

How to configure synchronous distribution
  1. Configure a local importer, an agent-based exporter, an AgentDistributionPackageExporterFactory, and a “queue” agent, or QueueDistributionAgentFactory, on every publish instance.
  2. Configure the sync distribution agent on the author/coordinator instance, i.e. the SyncDistributionAgentFactory, and configure the endpoints to the URLs of all target instances.

delivery trigger

Distribution triggers can be configured to automate the distribution of content between source and target instances.

  • DistributionEventDistributeDistributionTrigger — for chain distribution on specific distribution event topics
  • JcrEventDistributionTrigger — JCR watch-based triggers trigger distribution based on JCR events on specific nodes. Configure a JCR event trigger on the author to add JCR changes under the configured path to the transfer agent queue.
  • RemoteEventDistributionTrigger — Trigger distribution upon receipt of an event sent by the server at a specific URL
  • ResourceEventDistributionTrigger — to trigger a specific trigger when a node/property changes under a specific path
  • ScheduledDistributionTrigger – To schedule distributions on specific distribution agents, trigger distributions based on specific intervals.
  • “Apache Sling Distribution Triggers” — “Scheduled Triggers Factory” can be configured to deliver content on a regular basis

The Importance of Sling Content Delivery

With the move to AEM as a Cloud Service, the traditional method of publishing content has moved away from replication agents and towards content delivery using Sling. Therefore, learning about the core architecture of SCD is helpful in understanding this replication framework. In addition, there are specific configurations that are not covered in this article, such as the retry strategy and his SCD’s priority queue.You can find more information about this here.

You may also like

Leave a Comment

About Us

We’re a provider of Data IT News and we focus to provide best Data IT News and Tutorials for all its users, we are free and provide tutorials for free. We promise to tell you what’s new in the parts of modern life Data professional and we will share lessons to improve knowledge in data science and data analysis field.

world free4u.in sexxxymovs.com sexi vdios hindi sex vedio fuckzilla.mobi dehati sex.com indian bhabi porn videos tryporn.net doctors x videos xnxx xxx sex masturbationporntrends.com video gaman bengali blue sex tubebox.mobi sunny leon hot videos banjara sexy video indianpornsearch.com tnaflix porn movies karan patel girlfriend pornbit.info negro sex سكس كاميرا ويب arabic-porn.net مزز محجبات ازبار سوداء greattubeporn.com صور سكس انمي dasd-457 javlibrary.pro 口淫娘 hot hd videos yes pron bigztube.mobi xvedio xvideos.c om freepornfinder.info chickdb kannada hot sex videos asianporntrends.com telugesex sex tamilnadu kamtube.mobi south indian porno movies افلام اباحيه فرنسيه alarab-porn.com سكس اجباري
plinko oyna
alev casino
rulet oyna
betwild giris
super gra
aviator casino
stake giriş
sugar rush 1000 demo
rexbet giriş
casino milyon
cashwin giris
atlasbet giriş
pinco casino
biabet giris
inagaming giriş
kingbetting giriş
plinko romania
betmarino giriş
biabet giris
betwild giris