Skip to content

Conversation

@makdeniss
Copy link
Contributor

This change simplifies the Gateway and Listener codebase by centralizing dependency injection for IO and schema resolvers, and unifying client creation logic, thereby maximizing code reuse across Standard and KCP operational modes.

Changes

  • Consolidated client creation in TargetCluster, removing explicit KCP branching from the main connection logic.
  • Moved IOHandler and SchemaResolver initialization to cmd/listener.go, reducing duplication.
  • Updated ReconcilerOpts to inject shared dependencies, enabling consistent behavior across both Standard and KCP modes.

@makdeniss makdeniss self-assigned this Nov 25, 2025
@makdeniss makdeniss added the enhancement New feature or request label Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants