@vpriem/kafka-broker
Version:
Easily compose and manage your kafka resources in one place
5 lines • 430 B
TypeScript
import { Message } from 'kafkajs';
import { SchemaRegistry } from '@kafkajs/confluent-schema-registry';
import { PublishMessage, MessageValue, SchemaId, SchemaSubject } from './types';
export declare const encodeMessagesWithRegistry: <V = MessageValue>(messages: PublishMessage<V>[], schema: SchemaId | SchemaSubject, schemaRegistry?: SchemaRegistry) => Promise<Message[]>;
//# sourceMappingURL=encodeMessagesWithRegistry.d.ts.map