UNPKG

@awesomeniko/kafka-trail

Version:

A Node.js library for managing message queue with Kafka

7 lines (6 loc) 240 B
import type { PartitionerArgs } from "kafkajs"; declare const CustomPartitioner: { roundRobinNumber: () => (params: PartitionerArgs) => number; roundRobin: () => (params: PartitionerArgs) => number; }; export { CustomPartitioner };