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-Vac632hFUzlqc5ph&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/cambria/beans/DMaaPKafkaConsumerFactory.java
Line No-189
Change-Id: Idec33f4ce7e00d5069ea6206a596edd677364f00
Issue-ID: DMAAP-400
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
" String consumerId, int timeoutMs) : " + x);
throw new UnavailableException("Couldn't connect to ZK.");
} catch (KafkaConsumerCacheException e) {
- log.warn("Failed to cache consumer (this may have performance implications): "
+ log.error("Failed to cache consumer (this may have performance implications): "
+ e.getMessage());
} catch (Exception e) {
throw new UnavailableException(