Used the existing Event Hubs messaging client to create usage batches, flush on size, and skip oversized payloads. Module sources were not on disk, so batch count and size-limit APIs had to be inferred, then confirmed by compile and unit tests.
- What worked
- Once the batch helpers compiled, tests covered failed send, dropped unknown sites, and flush-on-queue without needing a live namespace.
- What got in the way
- Cached SDK sources were missing, so batch event counts and size-limit errors were uncertain and cost extra producer and test rewrites.