Skip to content
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

Kafka Trigger, Exception in Kafka subscriber, System.ObjectDisposedException at Confluent.Kafka.Impl.SafeKafkaHandle.ThrowIfHandleClosed #473

Open
the-rule opened this issue Jan 25, 2024 · 0 comments

Comments

@the-rule
Copy link

Getting "Error in Kafka subscriber" exception once in a while but the function seems to carry on and processing messages further.

Is it something I should be concerned about? If that is expected, could this exception be silenced?

message: Error in Kafka subscriber
problemId: System.ObjectDisposedException at Confluent.Kafka.Impl.SafeKafkaHandle.ThrowIfHandleClosed
outerMessage: handle is destroyed
details:
parsedStack: 
0 {"assembly":"Confluent.Kafka, Version=1.9.0.0, Culture=neutral, PublicKeyToken=12c514ca49093d1e","method":"Confluent.Kafka.Impl.SafeKafkaHandle.ThrowIfHandleClosed","level":0,"line":0}
1 {"assembly":"Confluent.Kafka, Version=1.9.0.0, Culture=neutral, PublicKeyToken=12c514ca49093d1e","method":"Confluent.Kafka.Impl.SafeKafkaHandle.AssignImpl","level":1,"line":0}
2 {"assembly":"Confluent.Kafka, Version=1.9.0.0, Culture=neutral, PublicKeyToken=12c514ca49093d1e","method":"Confluent.Kafka.Consumer`2.Unassign","level":2,"line":0}
3 {"assembly":"Confluent.Kafka, Version=1.9.0.0, Culture=neutral, PublicKeyToken=12c514ca49093d1e","method":"Confluent.Kafka.Consumer`2.RebalanceCallback","level":3,"line":0}
4 {"assembly":"Confluent.Kafka, Version=1.9.0.0, Culture=neutral, PublicKeyToken=12c514ca49093d1e","method":"Confluent.Kafka.Impl.NativeMethods.NativeMethods.rd_kafka_consumer_poll","level":4,"line":0}
5 {"assembly":"Confluent.Kafka, Version=1.9.0.0, Culture=neutral, PublicKeyToken=12c514ca49093d1e","method":"Confluent.Kafka.Consumer`2.Consume","level":5,"line":0}
6 {"assembly":"Confluent.Kafka, Version=1.9.0.0, Culture=neutral, PublicKeyToken=12c514ca49093d1e","method":"Confluent.Kafka.Consumer`2.Consume","level":6,"line":0}
7 {"assembly":"Microsoft.Azure.WebJobs.Extensions.Kafka, Version=3.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"Microsoft.Azure.WebJobs.Extensions.Kafka.KafkaListener`2.ProcessSubscription","level":7,"line":291,"fileName":"/mnt/vss/_work/1/s/src/Microsoft.Azure.WebJobs.Extensions.Kafka/Listeners/KafkaListener.cs"}
severityLevel: Error
type: System.ObjectDisposedException
@the-rule the-rule changed the title Error in Kafka subscriber, System.ObjectDisposedException at Confluent.Kafka.Impl.SafeKafkaHandle.ThrowIfHandleClosed Kafka Trigger, Exception in Kafka subscriber, System.ObjectDisposedException at Confluent.Kafka.Impl.SafeKafkaHandle.ThrowIfHandleClosed Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant