Skip to content

Commit

Permalink
[chore][connector/routing] Fix versions noted in deprecation of match…
Browse files Browse the repository at this point in the history
…_once field (#36826)
  • Loading branch information
djaglowski authored Dec 13, 2024
1 parent efdf2e4 commit 5f7ac0a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions connector/routingconnector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ Routes logs, metrics or traces based on resource attributes to specific pipeline

## Notice

The `match_once` field is deprecated as of `v0.115.0`. The deprecation schedule is planned as follows:
The `match_once` field is deprecated as of `v0.116.0`. The deprecation schedule is planned as follows:

- `v0.115.0`: The field is deprecated. If `false` is used, a warning will be logged.
- `v0.116.0`: The default value will change from `false` to `true`. If `false` is used, an error will be logged.
- `v0.117.0`: The field will be disconnected from behavior of the connector. If used (either `false` or `true`), an error will be logged.
- `v0.119.0`: The field will be removed.
- `v0.116.0`: The field is deprecated. If `false` is used, a warning will be logged.
- `v0.117.0`: The default value will change from `false` to `true`. If `false` is used, an error will be logged.
- `v0.118.0`: The field will be disconnected from behavior of the connector.
- `v0.120.0`: The field will be removed.

### Migration

It is recommended to set `match_once: true` until `v0.116.0` and then remove all usage of the field before `v0.119.0`.
It is recommended to set `match_once: true` until `v0.117.0` and then remove all usage of the field before `v0.120.0`.

For detailed guidance on how to migrate configuration from `match_once: false` to `match_once: true`, see [Config Migration](#config-migration.md).

Expand Down

0 comments on commit 5f7ac0a

Please sign in to comment.