Skip to content

Commit eeb8941

Browse files
committed
Type fix
1 parent 66495aa commit eeb8941

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface KafkaConfig {
3636
'bootstrap.servers'?: string;
3737
'message.max.bytes'?: number;
3838
'message.copy.max.bytes'?: number;
39-
'receive.message.max.bytes': number;
39+
'receive.message.max.bytes'?: number;
4040
'max.in.flight.requests.per.connection'?: number;
4141
'max.in.flight'?: number;
4242
'metadata.request.timeout.ms'?: number;
@@ -45,7 +45,7 @@ export interface KafkaConfig {
4545
'topic.metadata.refresh.fast.interval.ms'?: number;
4646
'topic.metadata.refresh.fast.cnt'?: number;
4747
'topic.metadata.refresh.sparse'?: number;
48-
'topic.blacklist': string[];
48+
'topic.blacklist'?: string[];
4949
'debug'?: string;
5050
'socket.timeout.ms'?: number;
5151
'socket.blocking.max.ms'?: number;

0 commit comments

Comments
 (0)