Skip to content

Commit

Permalink
remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mackjmr committed Jul 31, 2023
1 parent 07e0eb6 commit 92d86d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ fun main(args: Array<String>) {
.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
}
Expand Down
4 changes: 2 additions & 2 deletions src/orderproducerservice/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 92d86d7

Please sign in to comment.