This document will help to setup your development environment and running tests for milvus java sdk. If you encounter a problem, please file an issue.
- Java 8 or higher
- Apache Maven
fetch proto files from submodule project
git submodule update --init
call the following command to generate protobuf related code
mvn install
Milvus proto files are managed by a submodule project under the directory: src/main/milvus-proto Before developing new interfaces, you need to get the latest proto files by the following command:
git submodule update --remote
see detailed information at: https://github.com/milvus-io/milvus/blob/master/DEVELOPMENT.md
You need to start a latest milvus cluster to test the java SDK, see instructions at: https://milvus.io/docs/v2.0.0/install_standalone-docker.md
All unit test is under director src/test, TBD
Milvus SDK repo follows the same git work flow as milvus main repo, see https://milvus.io/community/contributing_to_milvus.md
If you have any questions about how to fork, clone, create branch, commit, push, open a pull request, please see https://github.com/firstcontributions/first-contributions