In ehcache2, I used to store my ehcache properties externally and brought it into an input stream and then created a cache manager using it.
However, in ehcache3, I don't see such an option to build it using an inputStream which to me seems like a cool feature to have. Am I missing something? I tried using the ConfigurationBuilder, the CacheManagerBuilder and a bunch of things but none of them seem to accept input streams to do the configuration. I only see it possible using resources objects. My properties files are stored in the db for easy access and I would like to continue using the same if possible.
One potential solution I was thinking is that I would parse my external file and them do something like "createCache" xyz and do this for the number of caches present, but I feel like there should be a more optimal way to do the same.