Skip to content

Commit caca10f

Browse files
add boolean on KafkaConfig interface for easily support ssl
1 parent 71ba188 commit caca10f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/microservices/external/kafka.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export declare class Kafka {
1414

1515
export interface KafkaConfig {
1616
brokers: string[];
17-
ssl?: tls.ConnectionOptions;
17+
ssl?: tls.ConnectionOptions | boolean;
1818
sasl?: SASLOptions;
1919
clientId?: string;
2020
connectionTimeout?: number;

0 commit comments

Comments
 (0)