Skip to content

what is the behaviour when no server is available #129

Answered by mishamyte
camillebourget asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @camillebourget,

This sink doesn't send events immediately. It batches it in a memory and send with batches.
You could control it by next settings:

  • batchPostingLimit - the maximum number of events to post in a single batch. Default value is 1000
  • queueLimit - the maximum number of events stored in the queue in memory, waiting to be posted over the network. Default value is infinitely
  • period - the time to wait between checking for event batches. Default value is 2 seconds

So if server would be unavailable, sink will add events into a memory queue (main code could be found here) and tries to retry with a exponential backoff.

So when server become available, data would be delivered.

So t…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@camillebourget
Comment options

@mishamyte
Comment options

Answer selected by camillebourget
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants