"An error has occurred while consuming messages occurred: " kafkasource pod

201 views
Skip to first unread message

srini...@gmail.com

unread,
Sep 10, 2020, 11:46:29 AM9/10/20
to Knative Users
in kafkasource pod , continuously getting below error.
can you please let me know what is the root cause for the error.


{"level":"error","ts":"2020-09-10T15:08:09.066Z","caller":"adapter/adapter.go:110","msg":"An error has occurred while consuming messages occurred: ","error":"kafka: error while consuming topicname/partition: EOF","stacktrace":"knative.dev/eventing-contrib/kafka/source/pkg/adapter.(*Adapter).start.func2\n\tknative.dev/eventing-contrib/kafka/source/pkg/adapter/adapter.go:110"}

thank you.

Francesco Guardiani

unread,
Sep 10, 2020, 12:18:02 PM9/10/20
to srini...@gmail.com, Knative Users
Which knative version are you using?

--
You received this message because you are subscribed to the Google Groups "Knative Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to knative-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/knative-users/3056e7da-e508-4900-a726-f1cdedf47747n%40googlegroups.com.


--

Francesco Guardiani

Software Engineer

Red Hat Srl

fgua...@redhat.com   

Francesco Guardiani

unread,
Sep 10, 2020, 12:18:47 PM9/10/20
to srini...@gmail.com, Knative Users
Can you increase the logging level to debug?

srini...@gmail.com

unread,
Sep 11, 2020, 7:22:23 AM9/11/20
to Knative Users
version: Knative 0.16.0 
dont know how to enable debug mode in kafkasource

but i see the consumer group connection to the brokers are established.

Shashank Sharma

unread,
Sep 11, 2020, 7:30:24 AM9/11/20
to Knative Users
Trying following the second step here to enable debug mode: https://knative.dev/docs/eventing/samples/kafka/source/#verify
Also, please make sure to delete the kafka source deployment after updating the configmap, kafkasource controller will automatically bring it up.  

srini...@gmail.com

unread,
Sep 11, 2020, 8:11:03 AM9/11/20
to Knative Users
configmap is already in debug mode. and i have deleted the kafksource and redeployed the kafkasource (kind: KafkaSource)
still dont see anything in the log. and seeing the same error

{"level":"info","ts":"2020-","caller":"logging/config.go:110","msg":"Successfully created the logger."}
{"level":"info","ts":"2020-","caller":"logging/config.go:111","msg":"Logging level set to debug"}
.
.
.
{"level":"error","ts":"2020-","caller":"adapter/adapter.go:110","msg":"An error has occurred while consuming messages occurred: ","error":"kafka: error while consuming <topicname>/<partition>: EOF","stacktrace":"knative.dev/eventing-contrib/kafka/source/pkg/adapter.(*Adapter).start.func2\n\tknative.dev/eventing-contrib/kafka/source/pkg/adapter/adapter.go:110"}

Reply all
Reply to author
Forward
0 new messages