Skip to content

feat: Support YAML configuration for Launcher - #211

Merged
pabloecol merged 9 commits into
mainfrom
launcher-configs
Sep 5, 2025
Merged

feat: Support YAML configuration for Launcher#211
pabloecol merged 9 commits into
mainfrom
launcher-configs

Conversation

@pabloecol

Copy link
Copy Markdown
Collaborator

Introduces the ability to configure the Spanner Cassandra Adapter Launcher using a YAML file. This provides a more flexible and powerful way to configure the adapter, especially for production environments and setups with multiple listeners.

The Launcher can now be configured via a -DconfigFilePath system property that points to a YAML file. The YAML file supports global settings and multiple listener configurations. The existing system property-based configuration is retained for simpler, single-listener setups.

The README.md has been updated to document both configuration methods, and new unit tests have been added to cover the YAML configuration loading and parsing logic.

@pabloecol
pabloecol requested review from ShuranZhang, ath-08 and mayurkale22 and removed request for ShuranZhang September 3, 2025 03:06
Introduces the ability to configure the Spanner Cassandra Adapter Launcher using a YAML file. This provides a more flexible and powerful way to configure the adapter, especially for production environments and setups with multiple listeners.

The Launcher can now be configured via a `-DconfigFilePath` system property that points to a YAML file. The YAML file supports global settings and multiple listener configurations. The existing system property-based configuration is retained for simpler, single-listener setups.

The `README.md` has been updated to document both configuration methods, and new unit tests have been added to cover the YAML configuration loading and parsing logic.
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread docs/config-options.md Outdated
Comment thread docs/config-options.md Outdated
Comment thread docs/config-options.md Outdated
Comment thread docs/config-options.md Outdated
Comment thread docs/config-options.md Outdated
Comment thread README.md Outdated

@mayurkale22 mayurkale22 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making changes. LGTM, added last rounds of comments

@mayurkale22 mayurkale22 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

last comment, otherwise LGTM

@pabloecol
pabloecol merged commit 15d2797 into main Sep 5, 2025
16 checks passed
@pabloecol
pabloecol deleted the launcher-configs branch September 5, 2025 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants