[refactor](ingester-example): reorganize project structure and improve database connection configuration.#86
Conversation
zqr10159
commented
May 24, 2025
- Rename packages to better reflect their purpose (e.g., quickstart, benchmark).
- Move database connection logic to a central DBConnector class.
- Use properties file for database connection details.
- fix deamon to daemon.
…database connection - Rename packages to better reflect their purpose (e.g., quickstart, benchmark) - Move database connection logic to a central DBConnector class - Use properties file for database connection details - Update logging and error handling - Improve code readability and maintainability
|
@fengjiachun Hi, please help review it, thanks! |
|
@zqr10159 Hi, thank you for your contribution. There are two minor issues to address:
|
Ok. I will fix them soon. |
- Update README with correct file paths for examples- Reorganize import statements in Java files for better readability
You can also modify the code format according to the prompts here: https://github.com/GreptimeTeam/greptimedb-ingester-java/actions/runs/15228347898/job/42871103593?pr=86 |
|
Thank you. I have fixed them. Please help me see if there are any other problems. |
fengjiachun
left a comment
There was a problem hiding this comment.
Others LGTM, thanks a lot. @zqr10159
…asses - Remove db_endpoint and db_name from BulkWriteBenchmark and StreamingWriteBenchmark - Update class comments to reflect the removal of these environment variables
- Remove comments about db_endpoint and db_name as they are not relevant to the batching write benchmark- Keep existing information about batch_size_per_request, zstd_compression, and max_points_per_second
v0.14.6 has been released, which includes this fix. cc @zqr10159 |