How to pass multiple messages to publishers in router? #1943
yann-combarnous
started this conversation in
General
Replies: 1 comment 1 reply
-
Hello @yann-combarnous, It would be helpful for us if you give us minimal reproducible example to reproduce your issue. And how do you run your FastStream code? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are using delay handler registration, per FastStream documentation and try to batch publish after processing, using code below:
However, we keep getting the error "AssertionError: Please,
connect()
the broker first.", but as the consumer is parsing the incoming messages and is using the same broker as the producer, this does not seem to make sense, any tip?Error comes from: 'faststream.confluent.publisher.asyncapi.AsyncAPIBatchPublisher object'
Return type of our message handler function is
Tuple[MyMessage, ...]:
Beta Was this translation helpful? Give feedback.
All reactions