Skip to content

Add article: Reordering an Unordered Azure Service Bus Stream with PowerShell - #189

Merged
HeyItsGilbert merged 3 commits into
PowerShellOrg:mainfrom
eosfor:article/service-bus-stream-reordering
Sep 17, 2026
Merged

HeyItsGilbert merged 3 commits into
PowerShellOrg:mainfrom
eosfor:article/service-bus-stream-reordering

Conversation

@eosfor

@eosfor eosfor commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Summary

This article explores a PowerShell approach for turning an out-of-order Azure Service Bus stream into ordered, session-aware output.

  • Uses message deferral as broker-backed payload storage and session state as a compact ordering index.
  • Walks through input 1, 3, 4, 2 and ordered output 1, 2, 3, 4.
  • Includes two terminal screenshots and a screencast alongside the article in its September 2026 leaf bundle.
  • Separates the demonstrated state machine from production guarantees, including atomicity, concurrency, gaps, duplicates, and recovery.
  • Makes a two-line fix to Article bundle validation: new Articles are not in the migrated-route inventory, so draft checks must tolerate a missing inventory entry.

Validation

  • Rebased onto current upstream/main and moved the article to content/articles/2026/09/reordering-an-unordered-azure-service-bus-stream-with-powershell/index.md, with media in the same folder and relative links.
  • Reproduced the article flow with the Azure Service Bus Emulator and a unique session: input 1,3,4,2 produced output 1,2,3,4 with the expected bodies.
  • Verified the generated page and all three media files.
  • git diff --check, npm run build, and npm run validate:articles passed locally; GitHub Build Hugo Site passed after the validator fix.

@netlify

netlify Bot commented Sep 14, 2026

Copy link
Copy Markdown

Deploy Preview for powershellorg ready!

Name Link
🔨 Latest commit f57c47e
🔍 Latest deploy log https://app.netlify.com/projects/powershellorg/deploys/6aac4cc47545790008fd2d06
😎 Deploy Preview https://deploy-preview-189--powershellorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@HeyItsGilbert HeyItsGilbert left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eosfor can you rebase this. We changed the file structure a bit to make it more manageable. It should go into the content/articles/2026/09 folder. Also, please put the images in the corresponding folder as that will allow Hugo to properly optimize them if needed. Let me know if you have questions.

@eosfor
eosfor force-pushed the article/service-bus-stream-reordering branch from c8678f8 to f57c47e Compare September 17, 2026 20:25
@eosfor

eosfor commented Sep 17, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto the current main and moved the article and all three media files into content/articles/2026/09/reordering-an-unordered-azure-service-bus-stream-with-powershell/, with relative image links. The new-bundle validator exposed a missing-inventory assumption for new articles; I included a two-line fix. Local validation and the updated CI are passing. Please take another look when you have a chance.

@HeyItsGilbert
HeyItsGilbert merged commit ea8664b into PowerShellOrg:main Sep 17, 2026
5 checks passed
@HeyItsGilbert

Copy link
Copy Markdown
Member

Looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants