Skip to content
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

How to use async_insert=1 in insert API ? #1967

Closed
abcfy2 opened this issue Nov 23, 2024 · 1 comment
Closed

How to use async_insert=1 in insert API ? #1967

abcfy2 opened this issue Nov 23, 2024 · 1 comment
Labels

Comments

@abcfy2
Copy link

abcfy2 commented Nov 23, 2024

Describe your feedback

Clickhouse has async_insert=1 setting, and GO also has this feature. But how to use in Java v2 client?

@chernser
Copy link
Contributor

Good day, @abcfy2 !
There is a method serverSetting documented here https://clickhouse.com/docs/en/integrations/java/client-v2#insertsettings
serverSetting("async_insert", "1")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants