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

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