diff options
Diffstat (limited to 'dcae-analytics')
-rw-r--r-- | dcae-analytics/dcae-analytics-web/src/main/java/org/onap/dcae/analytics/web/dmaap/MrMessageSplitter.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dcae-analytics/dcae-analytics-web/src/main/java/org/onap/dcae/analytics/web/dmaap/MrMessageSplitter.java b/dcae-analytics/dcae-analytics-web/src/main/java/org/onap/dcae/analytics/web/dmaap/MrMessageSplitter.java index 0396005..f8ab481 100644 --- a/dcae-analytics/dcae-analytics-web/src/main/java/org/onap/dcae/analytics/web/dmaap/MrMessageSplitter.java +++ b/dcae-analytics/dcae-analytics-web/src/main/java/org/onap/dcae/analytics/web/dmaap/MrMessageSplitter.java @@ -22,7 +22,6 @@ package org.onap.dcae.analytics.web.dmaap; import static org.apache.commons.text.StringEscapeUtils.unescapeJava; import static org.apache.commons.text.StringEscapeUtils.unescapeJson; import static org.onap.dcae.analytics.model.AnalyticsHttpConstants.REQUEST_ID_HEADER_KEY; -import static org.onap.dcae.analytics.model.AnalyticsModelConstants.ANALYTICS_REQUEST_ID_DELIMITER; import java.io.IOException; import java.util.Collections; @@ -95,8 +94,7 @@ public class MrMessageSplitter extends AbstractMessageSplitter { MessageBuilder .withPayload(messagePartitions.get(0)) .copyHeaders(message.getHeaders()) - .setHeader(REQUEST_ID_HEADER_KEY, - requestId + ANALYTICS_REQUEST_ID_DELIMITER + batchIndex) + .setHeader(REQUEST_ID_HEADER_KEY, requestId) .build() ); |