Skip to content

Commit e2a11bc

Browse files
authored
fix order of param (confluentinc#1263, @DLT1412)
The argument order in the constructor signature for AvroDeserializer/Serializer was altered in v1.6.1, but the example is not changed yet.
1 parent 5d815f5 commit e2a11bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/avro_consumer.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ def main(args):
8383
sr_conf = {'url': args.schema_registry}
8484
schema_registry_client = SchemaRegistryClient(sr_conf)
8585

86-
avro_deserializer = AvroDeserializer(schema_str,
87-
schema_registry_client,
86+
avro_deserializer = AvroDeserializer(schema_registry_client,
87+
schema_str,
8888
dict_to_user)
8989
string_deserializer = StringDeserializer('utf_8')
9090

0 commit comments

Comments
 (0)