Type Alias KafkaSelfManagedEvent
KafkaSelfManagedEvent: {
bootstrapServers?: null | string[];
eventSource: "SelfManagedKafka";
records: Record<
string,
{
headers: Record<string, string>[];
key: string;
offset: number;
partition: number;
timestamp: number;
timestampType: string;
topic: string;
value: string;
}[],
>;
}
Type declaration
Optional
bootstrapServers?: null | string[]
eventSource: "SelfManagedKafka"
records: Record<
string,
{
headers: Record<string, string>[];
key: string;
offset: number;
partition: number;
timestamp: number;
timestampType: string;
topic: string;
value: string;
}[],
>
Zod schema for Kafka event from Self Managed Kafka