You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: flink-connector-aws/flink-connector-redshift/src/main/java/org/apache/flink/connector/redshift/config/RedshiftSinkConfigConstants.java
+14-11
Original file line number
Diff line number
Diff line change
@@ -33,49 +33,51 @@ public class RedshiftSinkConfigConstants {
33
33
ConfigOptions.key("hostname")
34
34
.stringType()
35
35
.noDefaultValue()
36
-
.withDescription("Hostname of Redshift Cluster");
36
+
.withDescription("Redshift Cluster's Hostname");
37
37
38
38
publicstaticfinalConfigOption<Integer> PORT =
39
39
ConfigOptions.key("port")
40
40
.intType()
41
41
.defaultValue(5439)
42
-
.withDescription("Port of the Redshift Cluster");
42
+
.withDescription(
43
+
"Redshift's cluster Port. By default, AWS console set value to 5439 for redshift cluster.");
43
44
44
45
publicstaticfinalConfigOption<String> USERNAME =
45
46
ConfigOptions.key("username")
46
47
.stringType()
47
48
.noDefaultValue()
48
-
.withDescription("Username of Redshift Cluster");
49
+
.withDescription("username for Redshift Cluster connection.");
49
50
50
51
publicstaticfinalConfigOption<String> PASSWORD =
51
52
ConfigOptions.key("password")
52
53
.stringType()
53
54
.noDefaultValue()
54
-
.withDescription("Password of Redshift Cluster");
55
+
.withDescription("Password of Redshift Cluster associated with username.");
@@ -87,19 +89,20 @@ public class RedshiftSinkConfigConstants {
87
89
ConfigOptions.key("sink.write.temp.s3-uri")
88
90
.stringType()
89
91
.noDefaultValue()
90
-
.withDescription("Temporary S3 URI to store data");
92
+
.withDescription(
93
+
"Temporary S3 URI to store data. In COPY mode, Redshift architecture uses s3 to store intermittent data. Reference :https://docs.aws.amazon.com/redshift/latest/dg/r_COPY.html");
Copy file name to clipboardExpand all lines: flink-connector-aws/flink-connector-redshift/src/main/java/org/apache/flink/connector/redshift/config/RedshiftSinkConfigUtil.java
Copy file name to clipboardExpand all lines: flink-connector-aws/flink-connector-redshift/src/main/java/org/apache/flink/connector/redshift/internal/connection/RedshiftConnectionProvider.java
+7-1
Original file line number
Diff line number
Diff line change
@@ -26,9 +26,15 @@
26
26
importjava.sql.Connection;
27
27
importjava.sql.SQLException;
28
28
29
-
/** Redshift connection provider. */
29
+
/**
30
+
* Redshift connection provider Interface. Redshift can be configured using both JDBC and ODBC.
Copy file name to clipboardExpand all lines: flink-connector-aws/flink-connector-redshift/src/main/java/org/apache/flink/connector/redshift/internal/connection/RedshiftJdbcConnectionProvider.java
Copy file name to clipboardExpand all lines: flink-connector-aws/flink-connector-redshift/src/main/java/org/apache/flink/connector/redshift/internal/executor/RedshiftBatchExecutor.java
0 commit comments