Skip to content

Commit 5d815f5

Browse files
authored
The argument order in the constructor signature for AvroSerializer was altered in v1.6.1, but the example is not changed yet.
1 parent a9e6eeb commit 5d815f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/avro_producer.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ def main(args):
115115
schema_registry_conf = {'url': args.schema_registry}
116116
schema_registry_client = SchemaRegistryClient(schema_registry_conf)
117117

118-
avro_serializer = AvroSerializer(schema_str,
119-
schema_registry_client,
118+
avro_serializer = AvroSerializer(schema_registry_client,
119+
schema_str,
120120
user_to_dict)
121121

122122
producer_conf = {'bootstrap.servers': args.bootstrap_servers,

0 commit comments

Comments
 (0)