Either log or rethrow this exception
Sonar Link:
https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-VabL32hFUzlqc5nK&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java
Line No-523
Change-Id: Id475b0aaf8d7a877a4b9c3487fd9980f97eb55e6
Issue-ID: DMAAP-403
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
try {
curator.setData().forPath(consumerPath, fApiId.getBytes());
} catch (KeeperException.NoNodeException e) {
+ log.error(e.toString());
curator.create().creatingParentsIfNeeded().forPath(consumerPath, fApiId.getBytes());
}