Christian created KAFKA-14818:
---------------------------------

             Summary: Support non default file systems
                 Key: KAFKA-14818
                 URL: https://issues.apache.org/jira/browse/KAFKA-14818
             Project: Kafka
          Issue Type: Improvement
          Components: clients
    Affects Versions: 3.3.2
            Reporter: Christian


In our java project we are using a truststore and keystore that are not part of 
our application but download from an external source. We are running in a 
docker container without file system write access.

We can download keystore and truststore and store them to an 
in-memory-filesystem (jimf).

When the DefaultSslEngineFactory tries to load these Files it uses 

 
{code:java}
try (InputStream in = Files.newInputStream(Paths.get(path))) {{code}
same goes for lastModifiesMS().

 

If Paths.get(path) would be replaced with Paths.get(URI.create(path)) the code 
works with the default filesystem but for other filesystems like jimfs, too.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to