summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2021-02-12 17:57:49 +0000
committerGerrit Code Review <gerrit@onap.org>2021-02-12 17:57:49 +0000
commit1e4ca5e02ca11d0c404acd43e5e7582c38596761 (patch)
treea1df8f109ee01d9cba36769aba11ea222a9b807b /docs
parent6c5b640199f5eebc4f9b18e6ded6a85a9bbb4fe0 (diff)
parent422efeddaa3a4d64862cbccff87d3f632b0a8e6c (diff)
Merge "Add PM-Mapper files processing config description"
Diffstat (limited to 'docs')
-rw-r--r--docs/sections/services/pm-mapper/configuration.rst38
1 files changed, 38 insertions, 0 deletions
diff --git a/docs/sections/services/pm-mapper/configuration.rst b/docs/sections/services/pm-mapper/configuration.rst
index c699a35b..df7423a5 100644
--- a/docs/sections/services/pm-mapper/configuration.rst
+++ b/docs/sections/services/pm-mapper/configuration.rst
@@ -4,6 +4,44 @@
Configuration and Performance
=============================
+Files Processing Configuration
+""""""""""""""""""""""""""""""
+The PM Mapper consumes the 3GPP XML files from DMaaP-DR, and processes them. It is possible to process it in parallel.
+In order to parallel processing, new configuration env has been introduced:
+
+- PROCESSING_LIMIT_RATE (optional, default value: 1) - allows to limit the rate of processing files through channel.
+
+- THREADS_MULTIPLIER (optional, default value: 1) - allows to specify multiplier to calculate the amount of threads.
+
+- PROCESSING_THREADS_COUNT (optional, default value: number of threads available to JVM) - allows to specify number of threads that will be used for files processing.
+
+
+Envs should be specified in section "envs:" in blueprint. Example part of blueprint configuration:
+
+::
+
+ ...
+ pm-mapper:
+ type: dcae.nodes.ContainerizedServiceComponentUsingDmaap
+ interfaces:
+ cloudify.interfaces.lifecycle:
+ create:
+ inputs:
+ ports:
+ - '8443:0'
+ - '8081:0'
+ envs:
+ PROCESSING_LIMIT_RATE: "1"
+ THREADS_MULTIPLIER: "2"
+ PROCESSING_THREADS_COUNT: "3"
+ relationships:
+ - type: dcaegen2.relationships.subscribe_to_files
+ target: pm-feed
+ - type: dcaegen2.relationships.publish_events
+ target: pm-topic
+ ...
+
+
PM Mapper Filtering
"""""""""""""""""""
The PM Mapper performs data reduction, by filtering the PM telemetry data it receives.