@@ -87,8 +87,8 @@ pub struct Cli {
87
87
/// Mode of operation
88
88
pub mode : Mode ,
89
89
90
- /// public address for the parseable server
91
- pub node_url : String ,
90
+ /// public address for the parseable server ingestor
91
+ pub ingestor_url : String ,
92
92
}
93
93
94
94
impl Cli {
@@ -115,7 +115,7 @@ impl Cli {
115
115
pub const ROW_GROUP_SIZE : & ' static str = "row-group-size" ;
116
116
pub const PARQUET_COMPRESSION_ALGO : & ' static str = "compression-algo" ;
117
117
pub const MODE : & ' static str = "mode" ;
118
- pub const NODE_URL : & ' static str = "node -url" ;
118
+ pub const INGESTOR_URL : & ' static str = "ingestor -url" ;
119
119
pub const DEFAULT_USERNAME : & ' static str = "admin" ;
120
120
pub const DEFAULT_PASSWORD : & ' static str = "admin" ;
121
121
@@ -317,13 +317,13 @@ impl Cli {
317
317
. help ( "Mode of operation" ) ,
318
318
)
319
319
. arg (
320
- Arg :: new ( Self :: NODE_URL )
321
- . long ( Self :: NODE_URL )
322
- . env ( "P_NODE_URL " )
320
+ Arg :: new ( Self :: INGESTOR_URL )
321
+ . long ( Self :: INGESTOR_URL )
322
+ . env ( "P_INGESTOR_URL " )
323
323
. value_name ( "URL" )
324
324
. required ( false )
325
325
. value_parser ( validation:: socket_addr)
326
- . help ( "Node URL for Parseable server" )
326
+ . help ( "URL to connect to this specific ingestor. Default is the address of the server. " )
327
327
)
328
328
. arg (
329
329
Arg :: new ( Self :: PARQUET_COMPRESSION_ALGO )
@@ -368,8 +368,8 @@ impl FromArgMatches for Cli {
368
368
. cloned ( )
369
369
. expect ( "default value for address" ) ;
370
370
371
- self . node_url = m
372
- . get_one :: < String > ( Self :: NODE_URL )
371
+ self . ingestor_url = m
372
+ . get_one :: < String > ( Self :: INGESTOR_URL )
373
373
. cloned ( )
374
374
. unwrap_or_else ( || self . address . clone ( ) ) ;
375
375
0 commit comments