File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
packages/cubejs-ksql-driver/src
rust/cubestore/cubestore/src/streaming Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,9 @@ export class KsqlDriver extends BaseDriver implements DriverInterface {
131131 if ( this . config . kafkaHost ) {
132132 this . kafkaClient = new Kafka ( {
133133 clientId : 'Cube' ,
134- brokers : this . config . kafkaHost . split ( ',' ) ,
134+ brokers : this . config . kafkaHost
135+ . split ( ',' )
136+ . map ( h => h . trim ( ) ) ,
135137 // authenticationTimeout: 10000,
136138 // reauthenticationThreshold: 10000,
137139 ssl : this . config . kafkaUseSsl ,
Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ impl StreamingSource for KafkaStreamingSource {
311311 . clone ( )
312312 . split ( "," )
313313 . filter ( |s| !s. is_empty ( ) )
314- . map ( |s| s. to_string ( ) )
314+ . map ( |s| s. trim ( ) . to_string ( ) )
315315 . collect ( ) ;
316316 let stream = self
317317 . kafka_client
You can’t perform that action at this time.
0 commit comments