twalthr commented on a change in pull request #15808:
URL: https://github.com/apache/flink/pull/15808#discussion_r645513418



##########
File path: 
flink-formats/flink-avro-confluent-registry/src/main/java/org/apache/flink/formats/avro/registry/confluent/RegistryAvroFormatFactory.java
##########
@@ -136,6 +160,31 @@ public String factoryIdentifier() {
     public Set<ConfigOption<?>> optionalOptions() {
         Set<ConfigOption<?>> options = new HashSet<>();
         options.add(SCHEMA_REGISTRY_SUBJECT);
+        options.add(SCHEMA_REGISTRY_SSL_KEYSTORE_LOCATION);
+        options.add(SCHEMA_REGISTRY_SSL_KEYSTORE_PASSWORD);
+        options.add(SCHEMA_REGISTRY_SSL_TRUSTSTORE_LOCATION);
+        options.add(SCHEMA_REGISTRY_SSL_TRUSTSTORE_PASSWORD);
+        options.add(SCHEMA_REGISTRY_BASIC_AUTH_CREDENTIALS_SOURCE);
+        options.add(SCHEMA_REGISTRY_BASIC_AUTH_USER_INFO);
         return options;
     }
+
+    private Map<String, ?> buildOptionalPropertiesMap(ReadableConfig 
formatOptions) {
+        Map<String, String> optionalPropertiesMap = new HashMap<>();
+
+        List<ConfigOption<String>> configOptions = new ArrayList<>();
+        configOptions.add(SCHEMA_REGISTRY_SSL_KEYSTORE_LOCATION);
+        configOptions.add(SCHEMA_REGISTRY_SSL_KEYSTORE_PASSWORD);
+        configOptions.add(SCHEMA_REGISTRY_SSL_TRUSTSTORE_LOCATION);
+        configOptions.add(SCHEMA_REGISTRY_SSL_TRUSTSTORE_PASSWORD);
+        configOptions.add(SCHEMA_REGISTRY_BASIC_AUTH_CREDENTIALS_SOURCE);
+        configOptions.add(SCHEMA_REGISTRY_BASIC_AUTH_USER_INFO);

Review comment:
       I created https://issues.apache.org/jira/browse/FLINK-22878. But this 
might take a while because it would affect many components in Flink to solve it 
properly.




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to