redlsz opened a new issue, #6809: URL: https://github.com/apache/rocketmq/issues/6809
### Before Creating the Bug Report - [X] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq/discussions). - [X] I have searched the [GitHub Issues](https://github.com/apache/rocketmq/issues) and [GitHub Discussions](https://github.com/apache/rocketmq/discussions) of this repository and believe that this is not a duplicate. - [X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ. ### Runtime platform environment centos7 ### RocketMQ version 4.9.0+ ### JDK Version jdk8 ### Describe the Bug Fail to send trace data when use DefaultLitePullConsumer, with trace and acl enabled. <img width="1286" alt="image" src="https://github.com/apache/rocketmq/assets/103550934/3afb8b69-2952-40fd-9700-11e22add8b60"> The message consumption is ok. ### Steps to Reproduce Enable broker acl. Send some messages to a topic. Start a DefaultLitePullConsumer to consume, with trace enabled. Check the client WARN logs. ### What Did You Expect to See? Succeed to send consumption trace data. ### What Did You See Instead? Fail to send consumption trace data. ### Additional Context The cause is: <img width="1727" alt="image" src="https://github.com/apache/rocketmq/assets/103550934/56188217-b565-4f6b-afd2-d1223f34aef7"> We should use the custom rpchook, not hardcoding null. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
