File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ use std::path::PathBuf;
22
22
use url:: Url ;
23
23
24
24
use crate :: {
25
+ kafka:: SslProtocol ,
25
26
kafka:: SslProtocol ,
26
27
oidc:: { self , OpenidConfig } ,
27
28
option:: { validation, Compression , Mode } ,
@@ -526,14 +527,10 @@ impl FromArgMatches for Cli {
526
527
self . trino_username = m. get_one :: < String > ( Self :: TRINO_USER_NAME ) . cloned ( ) ;
527
528
528
529
self . kafka_topics = m. get_one :: < String > ( Self :: KAFKA_TOPICS ) . cloned ( ) ;
529
- self . kafka_security_protocol = m
530
- . get_one :: < SslProtocol > ( Self :: KAFKA_SECURITY_PROTOCOL )
531
- . cloned ( ) ;
530
+ self . kafka_host = m. get_one :: < String > ( Self :: KAFKA_HOST ) . cloned ( ) ;
532
531
self . kafka_group = m. get_one :: < String > ( Self :: KAFKA_GROUP ) . cloned ( ) ;
533
532
self . kafka_client_id = m. get_one :: < String > ( Self :: KAFKA_CLIENT_ID ) . cloned ( ) ;
534
- self . kafka_security_protocol = m
535
- . get_one :: < SslProtocol > ( Self :: KAFKA_SECURITY_PROTOCOL )
536
- . cloned ( ) ;
533
+ self . kafka_security_protocol = m. get_one :: < SslProtocol > ( Self :: KAFKA_SECURITY_PROTOCOL ) . cloned ( ) ;
537
534
self . kafka_partitions = m. get_one :: < String > ( Self :: KAFKA_PARTITIONS ) . cloned ( ) ;
538
535
539
536
self . tls_cert_path = m. get_one :: < PathBuf > ( Self :: TLS_CERT ) . cloned ( ) ;
You can’t perform that action at this time.
0 commit comments