Skip to main content

3 posts tagged with "Channels"

Channel generation and messaging channel management

View All Tags

AsyncAPI - Protocol-Specific Messaging Functions

· 12 min read
Jonas Lagoni
The Codegen Project creator

Building scalable event-driven applications requires robust messaging infrastructure that works seamlessly with your chosen protocols. We've covered payload generation, header management, and type-safe routing. Now let's explore how The Codegen Project's channels generator creates protocol-specific functions that streamline your messaging architecture while working with your favorite messaging systems.

AsyncAPI - Dynamic Channel Routing Made Type-Safe

· 10 min read
Jonas Lagoni
The Codegen Project creator

Building event-driven applications often requires dynamic channel routing based on parameters like user IDs, tenant identifiers, or resource keys. Manually constructing these parameterized channels is error-prone and makes your code fragile. We've explored generating payload models, headers, and type-safe channels. Now let's see how The Codegen Project's parameters generator creates type-safe models for dynamic channel construction.

AsyncAPI - Type safety Never Publish to Wrong Channels Again

· 8 min read
Jonas Lagoni
The Codegen Project creator

Building event-driven applications with multiple channels often leads to a common but critical problem: hardcoded channel names scattered throughout your codebase. One typo in a channel name can send events to the wrong destination or create silent failures. We've already explored generating models for payloads and headers. Now let's see how The Codegen Project's types generator provides compile-time safety for all your channel routing.