Skip to content

Bug: Schema Registry Cache not updated after deletion #1824

@0xn4utilus

Description

@0xn4utilus

Description

When using delete_subject(), the schema cache should be updated but instead it still contains the deleted subject and related schemas, as a result when registering new schema with the same subject name using register_schema()

schema_id = self._cache.get_schema_id_by_subject(subject_name, schema)
if schema_id is not None:
     return schema_id

returns deleted schema_id

Metadata

Metadata

Assignees

No one assigned

    Labels

    component:schema-registryAny schema registry related isues rather than kafka isolated ones

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions