whats the frequency of the letter i in:
so far, i have completed the getting started section, and in particular the loading stream data section. this works so far !
now i would like to use tranquility so that i can also stream data from my own application. i have been trying to use the sample code and reusing the same server configuration json file as in the getting started example.
// read config from server.json on the classpath.
from the error i suspect it is because the compiler does not find com.metamx.common.parsers.jsonpathparser? if this is the case, how can i include this in my project?
after manually adding the missing packages to my classpath as well as multiple other ones, it worked :).
i think it would be nice to update the documentation about that or to provide a starting project with the dependencies resolved !
hi pascal, great to see you’ve resolved your issue. tranquility docs are located at https://github.com/druid-io/tranquility/tree/master/docs. it would be great if you could help contribute an update around your workarounds.
hi fangjin !
thanks for your reply. yes, i read the whole docs about tranquility and did not find the solution to my problem, unfortunately… as i said, i solved it by importing all the missing dependencies, manually. as a starting point, i took the java example code and imported the core api. however, it appears that this is not enough to run the example code because i was still missing jsonpathparser, which can be found here. i made a jar out of it and included it on my classpath (did not find it on maven…). in my specific case, i also needed jsonpath from jayway, which can be found here. adding these dependencies was enough for me!
anyway, thanks for your work, keep up !
i am having similar issue with tranquility core api. issue started for me since tranquility 0.8.0. adding jsonpathparser.java to your source and including json-path artifact it started working again. current workaround seems hackish and i am not sure how good idea it would be to update docs to use that.
this should be getting pulled in automatically as a dependency, especially if you are using maven (or similar) to incorporate tranquility-core into your project. is that not happening?
yes, it looks like it is not imported correctly.

user
I counted 150 "i"s in that text.
assistant