-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample Kafka Producer for this plugin #1
Comments
Hi @jital94, |
Hi And my message in topic is Any idea what maybe going wrong? |
For folks seeing this can you try adding:
in place of Line 278 in the KafkaRpcPluginThread.java file please? Then enable debug logging and lets make sure the JSON is coming across properly. |
Hi, Also in this line Thanks |
@sjmittal have you been able to confirm that changing the version to 2.4 was able to fix the problem? |
Nevermind. I just confirmed that this problem is NOT caused by version 2.3 vs 2.4 mismatch. @manolama I am seeing, I can see my messages both entering and leaving the kafka queue correctly but for whatever reason they are not being parsed by JSONDeserializer correctly. Any idea what may be causing this? |
@manolama Found the source of the error. Seems to be a concurrency issue as the threads are initialized before the group has finished loading the deserializer class. This can be fixed by replacing, Suggested bug fix? |
This seems to be related to #10 |
Hi,
I'm trying to use this plugin but get following error
Unable to deserialize data java.lang.TypeNotPresentException: Type [unknown] not present
I'm sending JSON Strings
{"type":"Metrics","metric":"vmMemoryGB","timestamp":1500822865231,"value":7.0,"tags":{"host":"host-1"}}
Can you please specify how you are expecting messages from kafka stream.
The text was updated successfully, but these errors were encountered: