Either re-interrupt this method or rethrow the InterruptedException
Sonar Link:
https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-VabL32hFUzlqc5nE&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java
Line No-268
Change-Id: I2fce3e65c0522fba0527be75db0f6075018606a5
Issue-ID: DMAAP-398
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
} catch (InterruptedException e) {
// Ignore
log.error("error while setting curator framework :" + e.getMessage());
+ Thread.currentThread().interrupt();
}
}