Skip to content

Commit

Permalink
fixes #353: return message.payload (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwarkentin committed Apr 11, 2024
1 parent 2e58c7d commit 1a076a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/getstarted.rst
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Here we are using the `RunTask` strategy which runs a custom function over each
def handle_message(message: Message[KafkaPayload]) -> Message[KafkaPayload]:
print(f"MSG: {message.payload}")
return message
return message.payload
class ConsumerStrategyFactory(ProcessingStrategyFactory[KafkaPayload]):
"""
Expand Down

0 comments on commit 1a076a5

Please sign in to comment.