Closed paulbatum closed 2 years ago
@paulbatum, can you please clarify the issue? For session enabled SB entity we use SessionClient and block session batch receiving. Then we send batch of message to a language worker.
You're right, since the entire batch is sent to a single worker, there is no issue here.
Chatted with @paulbatum offline and decided to close the issue.
A function app that is using the FUNCTIONS_WORKER_PROCESS_COUNT setting to configure multiple out-of-proc workers will not get in-ordered processing of service bus messages with sessions enabled if the function is configured to do batched dispatch.
Either we should find a way to fix (i.e. force all messages in the batch to be sent to the same worker) or fail to index the function.