Batch processing instead of list in the payload #420
Unanswered
fp-hybrid-stani
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Ok, see. With the introduction of batch processing in #337 sending a list of messages is interpreted as a batch send operation. I think we would have to augment the implementation to check if the IEnumerable producer is registered and if so not treat it as a batch operation. Would that work? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys,
with the old version of SlimMessageBus we were able to register
mbb.Produce<IEnumerable<SomeMessage>>(x => x .DefaultTopic(slimMessageBusOptions.Producers.SomeTopic.Name));
With version 3 we get an error on sending the event using
await _messageBus.Publish<IEnumerable<SomeMessage>>(payload)
because IMessageBus tries to send single events as a batch instead of a list inside the payload.
Is there a way to send a list inside the payload like in the "good old times"?))
Beta Was this translation helpful? Give feedback.
All reactions