@alt-stack/example-kafka-producer-sdk
v1.5.1
Published
Auto-generated TypeScript SDK for kafka-producer
Readme
@alt-stack/example-kafka-producer-sdk
Generated TypeScript/Zod snapshot for the repository's example Kafka producer AsyncAPI document.
This is topic-specific generated output, not a hand-authored Kafka-client API. Regeneration may change any schema or topic alias.
Use the snapshot
pnpm add @alt-stack/example-kafka-producer-sdk zodimport { Topics, type MessageType } from "@alt-stack/example-kafka-producer-sdk";
const message: MessageType<"notifications"> = Topics.notifications.parse({
type: "welcome",
recipient: "[email protected]",
message: "Hello",
});Zod 4 is required as a peer. src/index.ts is generated and must not be hand-edited.
