Hooks in Kafka Listener
问题 Is there any sort of hooks available before / after kafka listen a message ? Use case : MDC co-relation id has to be set for to perform the log traceability What I am looking for ? A before/after call back method so that MDC co-relation id can be set on entry and eventually clean MDC upon exit. Edited Scenario: I am getting co-relation id as a part of Kafka Headers and I want to set the same in MDC as soon as I receive a message in Kafka Listener Appreciated for help 回答1: You can add an