Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy