Replies: 1 comment
-
Hi, Can you send broker conf which related brokerInterceptors also pom file for build this interceptor |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Version
2.7.1
What do you want ?
i want to log some information in Broker before messages send to consumer
What have you done?
i use BrokerInterceptor to do so
here's my BrokerInterceptor:
and here's my produce test:
What did you expect to see?
the properties i settled wound be logged like this:
"LogBrokerInterceptor beforeSendMessage. properties key:clientId value:clientId123"
What did you see instead?
there's no such log, but this;
"LogBrokerInterceptor beforeSendMessage. topic:xxx subscription:xxx sequenceId:xxx propertiesSize:0"
shows that there is no properties in msgMetadata
Q
so here is the Question:
Am I using the wrong way to get the properties I set to the message ?
If so, how to make it right?
Beta Was this translation helpful? Give feedback.
All reactions