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
.define(AWS_REGION, ConfigDef.Type.STRING, DEFAULT_AWS_REGION, ConfigDef.Importance.MEDIUM, String.format("AWS client region, if not set will use %s", DEFAULT_AWS_REGION))
.define(S3_ENDPOINT, ConfigDef.Type.STRING, "", ConfigDef.Importance.MEDIUM, "Optional, S3 endpoint URL used to make it compatible with certain storage endpoints")
48
+
.define(S3_ENABLE_PATH_STYLE, ConfigDef.Type.BOOLEAN, false, ConfigDef.Importance.MEDIUM, "Optional, ensures the bucket name is in the URL path, making it compatible with certain storage endpoints");
46
49
returnconfigDef;
47
50
}
48
51
@@ -61,7 +64,7 @@ public static void verifyS3CredentialsAndBucketInfo(final Map<String, String> se
addErrorMessageToConfigObject(configObject, AWS_REGION, String.format("Defined region(%s) is not the same as the bucket region(%s)", awsRegion, bucketRegion));
@@ -95,7 +98,8 @@ public static void verifyS3CredentialsAndBucketInfo(final Map<String, String> se
95
98
thrownewConnectException(String.format("Unknown Amazon S3 exception while validating config, %s", e.getErrorCode()), e);
96
99
}
97
100
} catch (IllegalArgumentExceptione) {
98
-
addErrorMessageToConfigObject(configObject, AWS_REGION, "The defined aws.region is invalid");
0 commit comments