You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/11/18 21:31:35 UTC
[GitHub] [iceberg] jackye1995 commented on a change in pull request #3553: Aliyun: Add OSSFileIO
jackye1995 commented on a change in pull request #3553:
URL: https://github.com/apache/iceberg/pull/3553#discussion_r752640323
##########
File path: aliyun/src/main/java/org/apache/iceberg/aliyun/AliyunProperties.java
##########
@@ -25,21 +25,76 @@
import org.apache.iceberg.util.PropertyUtil;
public class AliyunProperties implements Serializable {
+ /**
+ * The domain name used to access OSS. OSS uses HTTP Restful APIs to provide services. Different regions are accessed
+ * by using different endpoints. For the same region, access over the internal network or over the Internet also uses
+ * different endpoints. For more information, see:
+ * https://www.alibabacloud.com/help/doc-detail/31837.htm
+ */
+ public static final String OSS_ENDPOINT = "oss.endpoint";
+
+ /**
+ * Aliyun uses an AccessKey pair, which includes an AccessKey ID and an AccessKey secret to implement symmetric
+ * encryption and verify the identity of a requester. The AccessKey ID is used to identify a user.
+ * <p>
+ * For more information about how to obtain an AccessKey pair, see:
+ * https://www.alibabacloud.com/help/doc-detail/53045.htm
+ */
+ public static final String ACCESS_KEY_ID = "access.key.id";
+
+ /**
+ * Aliyun uses an AccessKey pair, which includes an AccessKey ID and an AccessKey secret to implement symmetric
+ * encryption and verify the identity of a requester. The AccessKey secret is used to encrypt and verify the
+ * signature string.
+ * <p>
+ * For more information about how to obtain an AccessKey pair, see:
+ * https://www.alibabacloud.com/help/doc-detail/53045.htm
+ */
+ public static final String ACCESS_KEY_SECRET = "access.key.secret";
+
+ /**
+ * The implementation class of {@link AliyunClientFactory} to customize Aliyun client configurations.
+ * If set, all Aliyun clients will be initialized by the specified factory.
+ * If not set, {@link DefaultAliyunClientFactory} is used as default factory.
+ */
+ public static final String CLIENT_FACTORY = "client.factory-impl";
Review comment:
would it be better to make this the same as https://github.com/apache/iceberg/blob/master/aws/src/main/java/org/apache/iceberg/aws/AwsProperties.java#L145?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org