We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d40d66b commit 717611eCopy full SHA for 717611e
1 file changed
packages/kafka/lib/utils/KafkaMessageBatchStream.ts
@@ -123,14 +123,6 @@ export class KafkaMessageBatchStream<TMessage extends MessageWithTopicAndPartiti
123
callback()
124
}
125
126
- public getPendingCount(): number {
127
- return this.messages.length
128
- }
129
-
130
- public hasPendingCallback(): boolean {
131
- return this.pendingCallback !== undefined
132
133
134
private flushMessages(): boolean {
135
clearTimeout(this.existingTimeout)
136
this.existingTimeout = undefined
0 commit comments