error while producer connect to kafka #167
Replies: 3 comments 2 replies
-
Hi @ramandas30, Thanks for using the plugin. Cheers! |
Beta Was this translation helpful? Give feedback.
-
Hello again @ramandas30, If you are still getting this error, please open an issue and attach the .jmx and Avro schema files that you are using, so we could replicate the same situtation and work on it. Thank you! |
Beta Was this translation helpful? Give feedback.
-
Hello @ramandas30, Sorry about the delay. I was looking your jmx file and it seems to be ok. I give you a reviewed version here: For me, it seems that you are trying to execute the producer before loading correctly the schema. In this example, you must go to "Schema Registry Config Element" and click on "Test Registry". That will opens a confirmation message that displays how many schemas are registered. When all of this is done, you are ready to execute the plan. I hope this helps you. Thak you! Cheers! |
Beta Was this translation helpful? Give feedback.
-
Hi, i am new to this tool . when i tried to run Example-Test_plan.jmx got error
2022-01-24 15:11:10,142 ERROR n.c.k.l.i.AvroLoadGenerator: Please make sure that properties data type and expression function return type are compatible with each other
java.lang.NullPointerException: null
at com.fasterxml.jackson.core.JsonFactory.createParser(JsonFactory.java:1045) ~[jackson-core-2.10.5.jar:2.10.5]
at org.apache.avro.Schema$Parser.parse(Schema.java:1413) ~[kloadgen-3.6.3-kloadgen-plugin-3.6.3.jar:?]
at net.coru.kloadgen.loadgen.impl.AvroLoadGenerator.setUpGenerator(AvroLoadGenerator.java:52) [kloadgen-3.6.3-kloadgen-plugin-3.6.3.jar:?]
at net.coru.kloadgen.sampler.SamplerUtil.configureValueGenerator(SamplerUtil.java:403) [kloadgen-3.6.3-kloadgen-plugin-3.6.3.jar:?]
at net.coru.kloadgen.sampler.KafkaSchemaSampler.setupTest(KafkaSchemaSampler.java:92) [kloadgen-3.6.3-kloadgen-plugin-3.6.3.jar:?]
at org.apache.jmeter.protocol.java.sampler.JavaSampler.sample(JavaSampler.java:194) [ApacheJMeter_java.jar:5.4.3]
at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:638) [ApacheJMeter_core.jar:5.4.3]
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:558) [ApacheJMeter_core.jar:5.4.3]
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:489) [ApacheJMeter_core.jar:5.4.3]
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:256) [ApacheJMeter_core.jar:5.4.3]
at java.lang.Thread.run(Thread.java:829) [?:?]
2022-01-24 15:11:10,152 ERROR o.a.j.t.JMeterThread: Error while processing sampler: 'Kafka Producer Properties'.
config detail is :
bootstrap.server=localhost:9092
kafka.topic.name=Test_raman
am i missing some other configuration?
Beta Was this translation helpful? Give feedback.
All reactions