This is an automated email from the ASF dual-hosted git repository.

liugddx pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new 0643eeb034 [Fix][Doc] Fix FTP sink config key `username` to `user` 
(#6627)
0643eeb034 is described below

commit 0643eeb0349b4ffdd4916e66dbf4c7272cda018a
Author: Jia Fan <[email protected]>
AuthorDate: Sun Apr 7 19:04:36 2024 +0800

    [Fix][Doc] Fix FTP sink config key `username` to `user` (#6627)
    
    * [Fix][Doc] Fix FTP sink config key `username` to `user`
    
    * [Fix][Doc] Fix FTP sink config key `username` to `user`
---
 docs/en/connector-v2/sink/FtpFile.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/en/connector-v2/sink/FtpFile.md 
b/docs/en/connector-v2/sink/FtpFile.md
index 98080012f9..8757fd7aa2 100644
--- a/docs/en/connector-v2/sink/FtpFile.md
+++ b/docs/en/connector-v2/sink/FtpFile.md
@@ -35,7 +35,7 @@ By default, we use 2PC commit to ensure `exactly-once`
 
|----------------------------------|---------|----------|--------------------------------------------|-------------------------------------------------------------------------------------------------------------------|
 | host                             | string  | yes      | -                    
                      |                                                         
                                                          |
 | port                             | int     | yes      | -                    
                      |                                                         
                                                          |
-| username                         | string  | yes      | -                    
                      |                                                         
                                                          |
+| user                             | string  | yes      | -                    
                      |                                                         
                                                          |
 | password                         | string  | yes      | -                    
                      |                                                         
                                                          |
 | path                             | string  | yes      | -                    
                      |                                                         
                                                          |
 | tmp_path                         | string  | yes      | /tmp/seatunnel       
                      | The result file will write to a tmp path first and then 
use `mv` to submit tmp dir to target dir. Need a FTP dir. |
@@ -70,7 +70,7 @@ The target ftp host is required
 
 The target ftp port is required
 
-### username [string]
+### user [string]
 
 The target ftp username is required
 
@@ -225,7 +225,7 @@ For text file format simple config
 FtpFile {
     host = "xxx.xxx.xxx.xxx"
     port = 21
-    username = "username"
+    user = "username"
     password = "password"
     path = "/data/ftp"
     file_format_type = "text"
@@ -243,7 +243,7 @@ For text file format with `have_partition` and 
`custom_filename` and `sink_colum
 FtpFile {
     host = "xxx.xxx.xxx.xxx"
     port = 21
-    username = "username"
+    user = "username"
     password = "password"
     path = "/data/ftp/seatunnel/job1"
     tmp_path = "/data/ftp/seatunnel/tmp"

Reply via email to