Skip to content

Commit ab0842d

Browse files
Making Sonar Happy
1 parent 333b048 commit ab0842d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/kafka/consumer/src/working_with_large_messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def process_standard_message(message):
1414

1515
def process_catalog_from_s3(bucket, key):
1616
# Simulate processing logic
17-
return {"product_count": 1000}
17+
return {"bucket": bucket, "key": key}
1818

1919

2020
@kafka_consumer(schema_config=schema_config)

examples/kafka/consumer/src/working_with_schema_errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
def process_order(order):
1717
# Simulate processing logic
18-
return "OK"
18+
return order
1919

2020

2121
def send_to_dlq(record):

0 commit comments

Comments
 (0)