Dirk Rudolph created SLING-7382:
-----------------------------------
Summary: Send Content-Type header along with the
DistributionPackage's content in reverse and reverse distribution
Key: SLING-7382
URL: https://issues.apache.org/jira/browse/SLING-7382
Project: Sling
Issue Type: Improvement
Components: Content Distribution
Reporter: Dirk Rudolph
Along with SLING-7357 the transmission of DistributionPackage's Content-Type
has been implemented for forward distribution to allow writing
DistributionContentSerializers targeting different kinds of sinks in forward
distribution.
An addition to that use case is the implementation of the same in the opposite
direction. For example sling not only being a source in a stream processing
cluster but also being a sink.
For example:
1. We have a authoring instance where editors create content
2. That content gets distributed to a publishing instance
3. From the publishing instance the content gets distributed to apache solr
4. Solr runs
[ClassificationUpdateProcessorFactory|https://lucene.apache.org/solr/7_2_0/solr-core/org/apache/solr/update/processor/ClassificationUpdateProcessorFactory.html]
enriching the content
5. The authoring instance periodically pulls back the classified content
A real world example would be smart tagging, where human judgment is applied on
a subset of content and classification with existing infrastructure is done to
enrich the all of the content.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)