Replies: 2 comments
-
As it is a new version, you need to submit pull request and relative test scenario update to cover that. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@CodingOX You will need a new plugin to pass the compiling. |
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
-
Search before asking
Apache SkyWalking Component
Java Agent (apache/skywalking-java)
What happened
In my Java project, I use Lettuce to connect to Redis. Recently, I upgraded the Lettuce core dependency from version 6.4.2.RELEASE to 6.5.2.RELEASE. After the upgrade, the host monitoring system alerted me that the disk space was growing rapidly. Upon investigation, I discovered that the SkyWalking agent logs were being printed excessively, filling up the disk space.
The log content looks like this:
The relevant part of my
pom.xml
is as follows:Upon further analysis, I found that the
io.lettuce.core.protocol.ProtocolKeyword
interface was modified in version 6.5.2.Before 6.5.2, the interface looked like this:
After 6.5.2, it was changed to:
This change seems to have caused a
NoSuchMethodError
in the SkyWalking agent, as it expects thetoString()
method but now encounters thename()
method instead.What you expected to happen
Support for Lettuce Core 6.5.2+:
I expected the SkyWalking agent to be compatible with Lettuce Core 6.5.2 and later versions, especially since the
ProtocolKeyword
interface change is a breaking change that affects the agent's functionality.Reasonable Disk Space Limits for Error Logs:
I expected the SkyWalking agent to have a default configuration that limits the size of error logs to a reasonable amount, preventing excessive disk space usage in case of repeated errors.
How to reproduce
NoSuchMethodError
forio.lettuce.core.protocol.ProtocolKeyword.name()
.Anything else
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions