Improve logging for CDS Kafka workers 54/117754/3
authorJulien Fontaine <julien.fontaine@bell.ca>
Tue, 26 Jan 2021 19:47:32 +0000 (14:47 -0500)
committerJulien Fontaine <julien.fontaine@bell.ca>
Thu, 11 Feb 2021 19:10:20 +0000 (14:10 -0500)
commit136e3e19a1821a694d799e7c8d670407720c9e66
treef11360bbc111b779e6b603aff115b5a10e797f4f
parentc99c15f6f91fb296f2b44c6406795ac0583d632d
Improve logging for CDS Kafka workers

Modified CDS Kafka consumersand producers logs to provide more details about the topic of the consumer record being consumed or published.
Refactored the publish callback to make it more readable.
Refactored audit service log error messages.

Issue-ID: CCSDK-3154
Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca>
Change-Id: I7b42930e926bc15ce175974a78d3bfe2f219b0a8
ms/blueprintsprocessor/modules/commons/message-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/message/service/KafkaMessageConsumerService.kt
ms/blueprintsprocessor/modules/commons/message-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/message/service/KafkaMessageProducerService.kt
ms/blueprintsprocessor/modules/inbounds/selfservice-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/selfservice/api/BlueprintProcessingKafkaConsumer.kt
ms/blueprintsprocessor/modules/inbounds/selfservice-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/selfservice/api/KafkaPublishAuditService.kt