Skip to content
Discussion options

You must be logged in to vote

Yes, your understanding is correct. With end-to-end acknowledgements enabled, Vector acknowledges successful delivery based on the ClickHouse HTTP response. It does not separately check whether an asynchronous insert succeeded after that response.

With async_insert_settings.enabled: true:

  • wait_for_processing: false maps to ClickHouse's wait_for_async_insert=0. ClickHouse can acknowledge the data while it is still buffered. A later insert failure cannot be reported back through the already-completed Vector request.
  • wait_for_processing: true maps to wait_for_async_insert=1. ClickHouse waits for the buffered insert to finish and returns processing errors to the client. This is the mode to u…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@bmtcril
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by pront
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
sink:clickhouse Anything `clickhouse` sink related domain:delivery Anything related to delivering events within Vector such as end-to-end acknowledgements
3 participants