log4j:WARN No appenders could be found for logger (org.apache.kafka.clients.consumer.ConsumerConfig). log4j:WARN Please initialize the log4j system properly

I am getting below eror while connecting to Kafka from logstash 5.2.1 and kaka input plugin 5.6.1

B log4j:WARN No appenders could be found for logger
Preformatted text (org.apache.kafka.clients.consumer.ConsumerConfig).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See Apache log4j 1.2 - Frequently Asked Technical Questions for more info.lockquote

below is my input kafka config:

input {
kafka{
group_id => "topic1"
jaas_path => "/"
sasl_kerberos_service_name => "kafka"
kerberos_config => "/etc/krb5.conf"
auto_offset_reset => "latest"
topics => ["cp1"]
#codec => "json"
bootstrap_servers => ""
#type => "ocs_cdr_data"
}
}

thanks for reading and helping.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.