Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
592 views
in Technique[技术] by (71.8m points)

spring boot - Intercept kafka poll request with SpringAOP

I would like to intercept the kafka poll request in order to log some informations like response time, available message number. I used springAOP without any success. I'm already using @KafkaListener to consume message one by one but i would like to track also the poll request. Has anyone done something like that before?

question from:https://stackoverflow.com/questions/65830090/intercept-kafka-poll-request-with-springaop

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

Please log in or register to answer this question.

Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...