Skip to content
Discussion options

You must be logged in to vote

Almost immediately after posting this question, I had a realization: "Surely this case was tested somewhere within faststream."
So I searched within the faststream tests and came across:

# Attempt 3:
await test_broker.publish_batch(msg1, msg2, topic=MY_TOPIC)
# Works as expected, consumer was invoked once with a list[Message] of length 2

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Lancetnik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant