Skip to content
Discussion options

You must be logged in to vote

This is supported now. On Vector 0.60.0, the vector sink can load-balance requests across multiple endpoints:

sinks:
  vector1:
    type: vector
    inputs: [file1]
    routing:
      endpoints:
        - http://10.35.2.213:8688
        - http://10.35.2.214:8688
      strategy: load_balance

Use your aggregators' actual addresses. routing replaces address; the two settings are mutually exclusive.

For your shared-storage question, I would give each aggregator its own output path, such as /shared/logs/aggregator-a.jsonl and /shared/logs/aggregator-b.jsonl. Load balancing does not coordinate writes to a shared file, and the safety of concurrent appends depends on the filesystem. A shared dire…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

@uglyliu
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:vector Anything `vector` sink related sink:file Anything `file` sink related
3 participants