Skip to content

Prevent connector key and version environment overrides #4396

Description

@ParthibanRajasekaran

Problem

The generated connector environment mappings currently advertise KEY and VERSION for local sink and source configurations. Overriding KEY can rename a source after its state path was derived, so the connector may start without its saved state. VERSION is likewise an identity field rather than a runtime override.

This was identified during review of #4350: #4350 (comment)

Proposed scope

Mark key and version with #[config_env(skip)] on sink and source configuration types, and add coverage showing those names are neither parsed nor advertised. Keep the change separate from #4350 because the behavior predates that PR.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions