[BUG] Retry interval for kafka consumer 31/137131/1
authormpriyank <priyank.maheshwari@est.tech>
Tue, 6 Feb 2024 10:44:14 +0000 (10:44 +0000)
committermpriyank <priyank.maheshwari@est.tech>
Tue, 6 Feb 2024 10:44:18 +0000 (10:44 +0000)
commitc109ebec4a58f65d0532ca052835e993c4a1273a
tree931bbfec6ccd00254c3a00d305b9f093994fe771
parent39b02f20a8baf1ba6295e6b995eca92598e6e9f2
[BUG] Retry interval for kafka consumer

- added retry interval of 10 seconds in case of any auth exception when
  consuming kafka messages.
- This fix prevents us from restarting the whole app inorder to restart
  the consumer.

Issue-ID: CPS-2070
Change-Id: Ie02d3cb686741cd92dd006dab1d49c3480d58720
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/config/kafka/KafkaConfig.java