Skip to content

Bad code in CachedSchemaRegistryClient #372

Closed
@rhaarm

Description

@rhaarm

Description

compatibility doesn't exist, so this could cause a exception, is that the purpose?

This doesn't return, seems to be a bug, so the function would actually return None.

What's the purpose of this exception catch? if you are going to raise it without logging or don't care?

How to reproduce

Just looking at code...

Checklist

Please provide the following information:

  • confluent-kafka-python and librdkafka version (confluent_kafka.version() and confluent_kafka.libversion()):
  • Apache Kafka broker version:
  • Client configuration: {...}
  • Operating system:
  • Provide client logs (with 'debug': '..' as necessary)
  • Provide broker log excerpts
  • Critical issue

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions