Skip to content

Conversation

zqr10159
Copy link
Contributor

  • Add low-level ingestion and streaming examples
  • Implement DbConfig struct for better configuration management
  • Update high-level examples to use new configuration utils
  • Add db-connection.toml file for database connection settings

…management

- Add low-level ingestion and streaming examples
- Implement DbConfig struct for better configuration management
- Update high-level examples to use new configuration utils
- Add db-connection.toml file for database connection settings
@zqr10159
Copy link
Contributor Author

@sunng87 Hi, please help review it, thanks!

@sunng87
Copy link
Member

sunng87 commented May 29, 2025

Thank you @zqr10159 ! Please follow the CI reporting and check my minor inline comments.

@zqr10159
Copy link
Contributor Author

Thank you @zqr10159 ! Please follow the CI reporting and check my minor inline comments.

Thanks, I will fix them soon.

- Modify config file format and content:
  - Rename 'dbconfig' to 'database'
  - Rename 'db.endpoints' to 'endpoints'
  - Rename 'db.database' to 'dbname'
- Update configuration parsing logic in code
- Adjust error handling in Server error variant
- Improve code formatting and readability in examples
@zqr10159 zqr10159 requested a review from sunng87 May 29, 2025 09:03
zqr10159 added 2 commits May 29, 2025 17:58
- Enhance code formatting for better visibility
- Use consistent indentation and line breaks
- Remove unnecessary Box usage for String in Server error variant
- Simplify Server error variant structure
@sunng87 sunng87 enabled auto-merge (squash) May 29, 2025 11:26
@sunng87 sunng87 merged commit 8afff2f into GreptimeTeam:master May 29, 2025
6 checks passed
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.

2 participants