From 92d86d7f4930f9b69f57ef2747e9f16437599f18 Mon Sep 17 00:00:00 2001 From: mackjmr Date: Mon, 31 Jul 2023 17:05:18 +0200 Subject: [PATCH] remove logging --- .../src/main/kotlin/frauddetectionservice/main.kt | 1 - src/orderproducerservice/deployment.yaml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/frauddetectionservice/src/main/kotlin/frauddetectionservice/main.kt b/src/frauddetectionservice/src/main/kotlin/frauddetectionservice/main.kt index 6b0ce41316..6db2976f65 100644 --- a/src/frauddetectionservice/src/main/kotlin/frauddetectionservice/main.kt +++ b/src/frauddetectionservice/src/main/kotlin/frauddetectionservice/main.kt @@ -37,7 +37,6 @@ fun main(args: Array) { .fold(totalCount) { accumulator, record -> val newCount = accumulator + 1 val orders = OrderResult.parseFrom(record.value()) - println(orders) println("Consumed record with orderId: ${orders.orderId}, and updated total count to: $newCount") newCount } diff --git a/src/orderproducerservice/deployment.yaml b/src/orderproducerservice/deployment.yaml index 486d656344..0be1682274 100644 --- a/src/orderproducerservice/deployment.yaml +++ b/src/orderproducerservice/deployment.yaml @@ -18,8 +18,8 @@ spec: template: metadata: annotations: - ad.datadoghq.com/kafka.logs: '[{"source":"kafka","service":"orderproducer"}]' - ad.datadoghq.com/kafka.checks: | + ad.datadoghq.com/orderproducer.logs: '[{"source":"kafka","service":"orderproducer"}]' + ad.datadoghq.com/orderproducer.checks: | { "kafka": { "init_config": {