You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "liuxiansheng990710 (via GitHub)" <gi...@apache.org> on 2023/12/28 10:32:46 UTC
[I] [Bug] SpringCloudStream bind rabbitMQ the traceId is losg [skywalking]
liuxiansheng990710 opened a new issue, #11704:
URL: https://github.com/apache/skywalking/issues/11704
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues.
### Apache SkyWalking Component
Java Agent (apache/skywalking-java)
### What happened
- SkyWalking APM Version:8.5.0
- Problem description:When using springCloudStream to bind rabbitMQ, the new version consumer is the function method, and the traceID is lost
- This trace is already present in skywalking ui

> producerLog
```java
INFO 2023-12-28 18:03:08,868 13716 - [TID: e6a749c792bf41dbb8bae517c4079b74.173.17037577877320001] - <mq_procuder> {"origin":"provider-auth","environment":"alpha"
```
> consumerLog
```java
INFO 2023-12-28 18:03:09,120 10904 - [TID: N/A] - [test-topic.provider-base-1] - <mq_consumer> - {"origin":"provider-base","environment":"alpha"
```
> springCloudStream - RabbitMQ -Cousumer class
```java
@Bean("21-alpha-test")
public Consumer<Message<MQTestModel>> mqInputTest()
```
> supplement
Consumer service other logs printed normally, only lost traceId when serving as rabbitmq consumer
### What you expected to happen
When consumers do not lose traceId
### How to reproduce
Use springcloudstream for rabbitmq binding, then send a message using the latest version of the function type to return the value as the consumer, in which log.info()
Assuming that the log4j2 plugin has been used to configure [% traceId]
### Anything else
_No response_
### Are you willing to submit a pull request to fix on your own?
- [ ] Yes I am willing to submit a pull request on my own!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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: notifications-unsubscribe@skywalking.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] SpringCloudStream bind rabbitMQ the traceId is losg [skywalking]
Posted by "wu-sheng (via GitHub)" <gi...@apache.org>.
wu-sheng closed issue #11704: [Bug] SpringCloudStream bind rabbitMQ the traceId is losg
URL: https://github.com/apache/skywalking/issues/11704
--
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: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org