Skip to content

Commit

Permalink
fix order of param (#1263, @DLT1412)
Browse files Browse the repository at this point in the history
The argument order in the constructor signature for AvroDeserializer/Serializer
was altered in v1.6.1, but the example is not changed yet.
  • Loading branch information
DLT1412 committed Feb 17, 2022
1 parent 5d815f5 commit e2a11bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/avro_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def main(args):
sr_conf = {'url': args.schema_registry}
schema_registry_client = SchemaRegistryClient(sr_conf)

avro_deserializer = AvroDeserializer(schema_str,
schema_registry_client,
avro_deserializer = AvroDeserializer(schema_registry_client,
schema_str,
dict_to_user)
string_deserializer = StringDeserializer('utf_8')

Expand Down

0 comments on commit e2a11bc

Please sign in to comment.