RockteMQ-AI commented on issue #909:
URL: 
https://github.com/apache/rocketmq-externals/issues/909#issuecomment-5227146548

   **Issue Evaluation**
   
   Category: `bug` | Status: **Evaluated**
   
   The stack trace shows a type incompatibility in the rocketmq-logstash-input 
plugin: the `codec` setting receives a `RubyObject20` (JRuby) instead of the 
expected `co.elastic.logstash.api.Codec` interface. This is a known class of 
issues caused by version mismatches between the Logstash plugin API and 
Logstash core.
   
   **Likely Root Cause:** The `rocketmq-logstash-input` plugin was built 
against an older Logstash plugin API version. When used with newer Logstash 
versions (7.x+), the JRuby/Java bridge fails to cast the codec object correctly.
   
   **Suggested Workarounds:**
   1. Ensure the plugin version matches your Logstash version
   2. Try explicitly setting `codec => plain` instead of `codec => json` as a 
temporary workaround
   3. Rebuild the plugin gem against your Logstash version's API
   
   > **Note:** The rocketmq-logstash-input plugin in rocketmq-externals has low 
maintenance activity. Consider checking if a community fork or alternative 
integration exists for your Logstash version.
   
   ---
   *Automated evaluation by github-manager*


-- 
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]

Reply via email to