BaseBrokerOptions

export interface BaseBrokerOptions
export interface BaseBrokerOptions
Base options for a broker implementation
blockTimeout?:number
How long to block for messages when polling
decode?:(data: Buffer) => unknown
Function to use for decoding messages
encode?:(data: unknown) => Buffer
Function to use for encoding messages
maxChunk?:number
Max number of messages to poll at once
name?:string
Unique consumer name.