C
C
Chik-2021-03-07 21:09:58
Spring
Chik-, 2021-03-07 21:09:58

How to log all incoming and outgoing messages in spring kafka?

There is a spring boot application that has a dependency on spring-kafka.
The application receives messages from Kafka through the KafkaListener annotation and sends messages through KafkaTemplate.
1) There is a task to log all incoming and outgoing messages
2) I would like to be able to mask these logged data (for example, full name, number, etc.), but without using regex-pov

How can I implement this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question