You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the problem including expected versus actual behavior:
PFB Kafka input configuration with the schema registry url that stores the avro schema. When population the deserialiser class for key_deserializer_class to non string deserialiser ie .KafkaAvroDeserializer, logstash is producing the errors
** Logs **
org.logstash.MissingConverterException: Missing Converter handling for full class name=org.apache.avro.generic.GenericData$Record, simple name=Record
at org.logstash.Valuefier.fallbackConvert(Valuefier.java:118) ~[logstash-core.jar:?]
at org.logstash.Valuefier.convert(Valuefier.java:96) ~[logstash-core.jar:?]
at org.logstash.Valuefier.lambda$static$3(Valuefier.java:72) ~[logstash-core.jar:?]
at org.logstash.Valuefier.convert(Valuefier.java:94) ~[logstash-core.jar:?]
at org.logstash.ext.JrubyEventExtLibrary$RubyEvent.safeValueifierConvert(JrubyEventExtLibrary.java:355) ~[logstash-core.jar:?]
at org.logstash.ext.JrubyEventExtLibrary$RubyEvent.ruby_set_field(JrubyEventExtLibrary.java:121) ~[logstash-core.jar:?]
at org.logstash.ext.JrubyEventExtLibrary$RubyEvent$INVOKER$i$2$0$ruby_set_field.call(JrubyEventExtLibrary$RubyEvent$INVOKER$i$2$0$ruby_set_field.gen) ~[jruby-complete-9.2.16.0.jar:?]
at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:835) ~[jruby-complete-9.2.16.0.jar:?]
at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207) ~[jruby-complete-9.2.16.0.jar:?]
at C_3a_.Users.rpundhir.Downloads.logstash_minus_7_dot_13_dot_1.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_integration_minus_kafka_minus_10_dot_7_dot_5_minus_java.lib.logstash.inputs.kafka.RUBY$method$maybe_set_metadata$0(C:/Users/Downloads/logstash-7.13.1/vendor/bundle/jruby/2.5.0/gems/logstash-integration-kafka-10.7.5-java/lib/logstash/inputs/kafka.rb:366) ~[?:?]
The text was updated successfully, but these errors were encountered:
Logstash information:
Logstash Version - 7.13.1
Run from Logstash windows zip version
Command - bin\logstash.bat -f config\logstash.conf
JVM (e.g.
java -version
):AdoptOpenJDK 11.0.8
Description of the problem including expected versus actual behavior:
PFB Kafka input configuration with the schema registry url that stores the avro schema. When population the deserialiser class for key_deserializer_class to non string deserialiser ie .KafkaAvroDeserializer, logstash is producing the errors
kafka {
id => ""
bootstrap_servers => "localhost:9092"
topics => ["test-topics"]
client_id => "kafka-consumer"
group_id => "test"
auto_offset_reset => "earliest"
decorate_events => true
security_protocol => "SSL"
ssl_keystore_location => "keystore.jks"
ssl_keystore_password => "prmcert"
ssl_truststore_location => "truststore.jks"
ssl_truststore_password => "prmcert"
key_deserializer_class => "io.confluent.kafka.serializers.KafkaAvroDeserializer"
schema_registry_url => "http://localhost:9093"
}
** Logs **
org.logstash.MissingConverterException: Missing Converter handling for full class name=org.apache.avro.generic.GenericData$Record, simple name=Record
at org.logstash.Valuefier.fallbackConvert(Valuefier.java:118) ~[logstash-core.jar:?]
at org.logstash.Valuefier.convert(Valuefier.java:96) ~[logstash-core.jar:?]
at org.logstash.Valuefier.lambda$static$3(Valuefier.java:72) ~[logstash-core.jar:?]
at org.logstash.Valuefier.convert(Valuefier.java:94) ~[logstash-core.jar:?]
at org.logstash.ext.JrubyEventExtLibrary$RubyEvent.safeValueifierConvert(JrubyEventExtLibrary.java:355) ~[logstash-core.jar:?]
at org.logstash.ext.JrubyEventExtLibrary$RubyEvent.ruby_set_field(JrubyEventExtLibrary.java:121) ~[logstash-core.jar:?]
at org.logstash.ext.JrubyEventExtLibrary$RubyEvent$INVOKER$i$2$0$ruby_set_field.call(JrubyEventExtLibrary$RubyEvent$INVOKER$i$2$0$ruby_set_field.gen) ~[jruby-complete-9.2.16.0.jar:?]
at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:835) ~[jruby-complete-9.2.16.0.jar:?]
at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207) ~[jruby-complete-9.2.16.0.jar:?]
at C_3a_.Users.rpundhir.Downloads.logstash_minus_7_dot_13_dot_1.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_integration_minus_kafka_minus_10_dot_7_dot_5_minus_java.lib.logstash.inputs.kafka.RUBY$method$maybe_set_metadata$0(C:/Users/Downloads/logstash-7.13.1/vendor/bundle/jruby/2.5.0/gems/logstash-integration-kafka-10.7.5-java/lib/logstash/inputs/kafka.rb:366) ~[?:?]
The text was updated successfully, but these errors were encountered: