Skip to content

Vector sink documentation discrepancy – addresses/routing issue. #25893

Description

@rafamiga

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Problem

I think there is a direct contradiction between the official documentation for the vector sink and the actual configuration validation in the CLI.

https://vector.dev/docs/reference/configuration/sinks/vector/#routing

The documentation for the vector sink states that the address field is deprecated in favor of routing.endpoints. However, when attempting to use the routing block, vector validate rejects it as an unknown field.

I'm getting this error when validating my config:

Failed to load ["/etc/vector/vector.yaml"]
------------------------------------------
x unknown field `routing`, expected one of `version`, `address`, `compression`, `batch`, `request`, `tls`, `acknowledgements`



in `sinks.cdn_vector_out_clickhouse`

Configuration

sinks:
  cdn_vector_out_clickhouse:
    type: vector
    inputs:
      - cdn_vector_log_route.cdn_vector_file_0
      - cdn_vector_log_route.cdn_vector_file_1
      - cdn_vector_log_route.cdn_vector_file_2
    routing:
      endpoints:
        - "172.22.1.1:5659"
      strategy: "load_balance"
    buffer:
      type: memory
      max_events: 1000000
      when_full: drop_newest

Version

vector 0.56.0 (x86_64-unknown-linux-gnu 6817c02 2026-06-03 14:25:37.451398530)

Debug Output


Example Data

No response

Additional Context

No response

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions