diff options
author | Jorge Hernandez <jh1730@att.com> | 2018-05-08 11:53:29 -0500 |
---|---|---|
committer | Jorge Hernandez <jh1730@att.com> | 2018-05-08 11:53:29 -0500 |
commit | d5b94ff49c1eb93de86afc2139c7266706161091 (patch) | |
tree | 1370222cb9b7ec7b18ed8ec9e52f58e8b9163c37 | |
parent | 8ccfb7fb6c848bffd22c58d94e332d46620de498 (diff) |
allow dcae consumer group configurationv1.2.1
this allows to change the dcase onset processing
group behavior across pdp-ds.
if installation sets DCAE_CONSUMER_GROUP, all
PDP-Ds will share the same consumer group, therefore
will have exclussive processing of onsets. Otherwise
if installation unsets it (blank), all pdp-d's will
process all onsets being placed in dcae topic on
dmaap bus
Change-Id: I4cc63005402ce66c09617b52dfad9a6094cbcb46
Issue-ID: POLICY-766
Signed-off-by: Jorge Hernandez <jh1730@att.com>
2 files changed, 2 insertions, 0 deletions
diff --git a/controlloop/common/feature-controlloop-amsterdam/src/main/feature/config/amsterdam-controller.properties b/controlloop/common/feature-controlloop-amsterdam/src/main/feature/config/amsterdam-controller.properties index 338e73050..9bb12f8b4 100644 --- a/controlloop/common/feature-controlloop-amsterdam/src/main/feature/config/amsterdam-controller.properties +++ b/controlloop/common/feature-controlloop-amsterdam/src/main/feature/config/amsterdam-controller.properties @@ -25,6 +25,7 @@ ueb.source.topics=${{DCAE_TOPIC}},APPC-CL,APPC-LCM-WRITE ueb.source.topics.${{DCAE_TOPIC}}.servers=${{DCAE_SERVERS}} ueb.source.topics.${{DCAE_TOPIC}}.apiKey= ueb.source.topics.${{DCAE_TOPIC}}.apiSecret= +ueb.source.topics.${{DCAE_TOPIC}}.consumerGroup=${{DCAE_CONSUMER_GROUP}} ueb.source.topics.${{DCAE_TOPIC}}.events=org.onap.policy.controlloop.VirtualControlLoopEvent ueb.source.topics.${{DCAE_TOPIC}}.events.org.onap.policy.controlloop.VirtualControlLoopEvent.filter=closedLoopEventStatus=.* ueb.source.topics.${{DCAE_TOPIC}}.events.custom.gson=org.onap.policy.controlloop.util.Serialization,gson diff --git a/controlloop/common/feature-controlloop-beijing/src/main/feature/config/beijing-controller.properties b/controlloop/common/feature-controlloop-beijing/src/main/feature/config/beijing-controller.properties index 0f34d762f..787e90f0c 100644 --- a/controlloop/common/feature-controlloop-beijing/src/main/feature/config/beijing-controller.properties +++ b/controlloop/common/feature-controlloop-beijing/src/main/feature/config/beijing-controller.properties @@ -31,6 +31,7 @@ ueb.source.topics.${{PDPD_CONFIGURATION_TOPIC}}.events.org.onap.policy.controllo ueb.source.topics.${{DCAE_TOPIC}}.servers=${{DCAE_SERVERS}} ueb.source.topics.${{DCAE_TOPIC}}.apiKey= ueb.source.topics.${{DCAE_TOPIC}}.apiSecret= +ueb.source.topics.${{DCAE_TOPIC}}.consumerGroup=${{DCAE_CONSUMER_GROUP}} ueb.source.topics.${{DCAE_TOPIC}}.events=org.onap.policy.controlloop.VirtualControlLoopEvent ueb.source.topics.${{DCAE_TOPIC}}.events.org.onap.policy.controlloop.VirtualControlLoopEvent.filter=closedLoopEventStatus=.* ueb.source.topics.${{DCAE_TOPIC}}.events.custom.gson=org.onap.policy.controlloop.util.Serialization,gson |