rvesse commented on issue #2462: URL: https://github.com/apache/jena/issues/2462#issuecomment-2107099722
I've used [Apache Commons IO Monitor APIs](https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/monitor/package-summary.html) for watching the configuration file in the past. Though as @flange-ipb says it can be quite unreliable especially when running in a containerised environment For example in a K8S environment where the config file is coming from a [`ConfigMap`](https://kubernetes.io/docs/concepts/configuration/configmap/) the way K8S actually mounts the file into the container means that the actual "file" ends up being a symbolic link and there's a hidden sub-directory lurking with the actual current version of the mapped file(s) from the `ConfigMap` bind mounted into your container -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
