Skip to content

Schema Registry readme and samples issues #20970

Description

@AFengKK

Section link1, link2:
image

Reason 1:
The order of the parameters is wrong.
Reason 2:
AttributeError: 'SchemaProperties' object has no attribute 'schema_id'.

Suggestion 1:
Update to schema_content, serialization_type
Suggestion 2:
Update to id

Section link1, link2, link3:
image

Reason :
TypeError: init() missing 1 required positional argument: 'fully_qualified_namespace'.

Suggestion :
Update to fully_qualified_namespace

Section link:
image

Reason :
AttributeError: 'Schema' object has no attribute 'content'.

Suggestion :
Update to schema_definition

Section link:
image

Reason :
AttributeError: 'SchemaRegistryClient' object has no attribute 'get_schema_id'.

Suggestion :
Update to get_schema_properties

Section link1, link2, link3, link4:
image

Reason:
TypeError: init() takes 1 positional argument but 3 were given.

Suggestion:
Update to client=schema_registry_client, group_name=schema_group

Section link1, link2:
image
image

Reason 1:
TypeError: serialize() takes 2 positional arguments but 3 were given.
Reason 2:
TypeError: serialize() missing 1 required positional argument: 'value'.

Suggestion 1,2:
Update to value=dict_data, schema=schema_string

James Liao - MSFT Developer Division PM (@jameszliao-msft) , Laurent Mazuel (@lmazuel) , Ramya Rao (@ramya-rao-a) , Adam Ling (@yunhaoling) for notification.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions