Im trying to utilizie the HighLevelRestClient in a OSGI-application. However, Im experiencing difficulties getting the client to be accepted as a feature by Karaf. The problem seem to relate to that the ES functionality is divided onto two jars: elasticsearch and elasticsearch-high-level-rest-client which leasds to a split-package-problem. Is this a known issue? Howcome this problem, in this case, has not been resolved (ie not having two jars exporting the same packages)?
The alternative, as I see it, would be to embedd the client jars in my application but that feels suboptimal.
Has anyone experience using the Rest-client in a OSGI-environment. How did you go about?