-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not sure how to use the client #137
Comments
Hi k3rnL. Thanks for reaching out to us. Running your example, i clearly see the following stacktrace: 09:53:45.200 [ScalaTest-run-running-ClickhouseClientTest2] INFO com.crobox.clickhouse.ClickhouseClient - Starting Clickhouse Client connecting to SingleHostBalancer(http://localhost:8123) I think this has to be with the way you're loading the config; not sure if the default client config (containing all defaults) is loaded correctly when you use the 'parseString' method This error doesn't show up if you use: ConfigFactory.load() instead of ConfigFactory.parseString(...). Could you try to use this ConfigFactory method along with a reference.conf file or something similar ? Feel feel to reach out to me |
Hello,
I tried to copy paste the example from the readme, but it turns out that it's not enough.
I hardly suggest to update the doc and put at least one fully working example.
Right now, I'am able to run the program, but nothing special happens, it seems that some thread are hanging as the program does not exit at end of main:
This code don't print anything
The text was updated successfully, but these errors were encountered: