UNPKG

@vpriem/kafka-broker

Version:

Easily compose and manage your kafka resources in one place

5 lines 407 B
import { Message } from 'kafkajs'; import { SchemaRegistry } from '@kafkajs/confluent-schema-registry'; import { PublishMessage, MessageValue, SchemaId, SchemaSubject } from './types'; export declare const encodeMessages: <V = MessageValue>(messages: PublishMessage<V>[], schema?: SchemaId | SchemaSubject, schemaRegistry?: SchemaRegistry) => Promise<Message[]>; //# sourceMappingURL=encodeMessages.d.ts.map