Skip to content

Commit

Permalink
Fikser anonymisering i payload.
Browse files Browse the repository at this point in the history
  • Loading branch information
ramrock93 committed May 16, 2024
1 parent fa8cb59 commit 041202e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/no/nav/cache/utkast/MineSiderService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class MineSiderService(
}
.thenAccept { result: SendResult<String, String> ->
val anonymisertUtkast = JSONObject(result.producerRecord.value())
anonymisertUtkast.remove("ident") // Fjerner ident fra utkastet før det logges.
anonymisertUtkast.put("ident", "****") // Fjerner ident fra utkastet før det logges.
log.info(
"Sendte utkast med offset {} på topic {}. Payload: {} ",
result.recordMetadata.offset(),
Expand Down

0 comments on commit 041202e

Please sign in to comment.