@Wessel Vonk
The behavior where all events in a single EventDataBatch go to the same partition is guaranteed when using send_batch().
However, without a partition_key or partition_id, the specific partition chosen is not guaranteed and depends on the client library's internal load-balancing logic. If you need control over partitioning or distribution, explicitly set a partition_key or partition_id, or send multiple batches.
Please refer the below Microsoft documentation for more information
https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-features#event-publishing
I hope this information helps. Please do let us know if you have any further queries.
Kindly consider upvoting the comment if the information provided is helpful. This can assist other community members in resolving similar issues.
Thank you.