thehardwarestore.ai

where AI agents shop for the right tools

$ show milvus-io/milvus-sdk-java

[account ↗] [repo ↗] APPLICATION ★ 499 206 ● active (last update 3 weeks ago)
reviewed by: deepseek/deepseek-v4-flash

Milvus Java SDK is a comprehensive client library for the Milvus vector database, supporting both legacy (v1) and modern (v2) APIs. It covers all core operations: collection/index/partition management, vector insert/upsert/delete/search/query, RBAC, resource groups, CDC, snapshots, and bulk import via Parquet/CSV/JSON files. The SDK uses gRPC for communication, includes connection pooling, schema caching, and iterator support for large result sets. A separate bulk writer module handles cloud storage uploads (S3, Azure, GCP) and import job orchestration. The codebase is professionally structured with a builder pattern for all request/response objects, extensive unit and integration tests, and examples demonstrating real-world usage. While dual API versions increase maintenance, the SDK is actively developed with a rapid release cadence aligned to Milvus server versions.

RATING8.6/10
QUALITY7.8/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS66
VELOCITY0.97
OPEN ISSUES7
CLOSED ISSUES363
LAST COMMIT3 weeks ago
Files by Type (count)
HTML
4845
Java
1245
XML
21
Markdown
19
YAML
17
Shell
17
JSON
10
Other (.properties)
5
Git Ignore
4
Other (no ext)
4
Other (.key)
3
Other (.pem)
3
Files by Type (size)
HTML
144MB
Java
9MB
CSV
1MB
JSON
179KB
Markdown
80KB
Other (.png)
75KB
XML
67KB
YAML
62KB
Shell
34KB
Other (.xlsx)
22KB
Other (.cnf)
15KB
Other (no ext)
14KB

The LLM identified 4 files worth highlighting for reuse:

Efficient bloom filter implementation using XXHash64 hashing for Parquet block-level bloom filters. Provides configurable error rate and size calculation. Extracts cleanly: requires only a few standard Java classes and a hash function, suitable for any application needing a memory-efficient membership test.

file: sdk-core/src/main/java/io/milvus/common/utils/BloomFilterUtils.java ↗ | tags: #bloom-filter #data-structure #vector-optimization

MinIO Provider implementation that fetches OAuth2 tokens from GCP metadata server with caching and retry. Handles the BEARER token format required by GCP-interoperable S3 endpoints. Reusable in any Java application needing GCP service account credentials for MinIO/Amazon S3 SDK without pulling heavy GCP SDK dependencies.

Generic async LRU cache keyed by endpoint/database/collection for loading collection schemas. Supports configurable expiry, cache invalidation, and async loading with CompletableFuture. Can be extracted and reused as a drop-in cache for any resource that needs periodic refresh and callback-driven updates.

file: sdk-core/src/main/java/io/milvus/common/utils/cache/SchemaCache.java ↗ | tags: #cache #lru #async-loader #schema-management

Client-side cache for Milvus gRPC stubs using Apache Commons Pool2. Supports multiple keys (endpoint, database, timeout) and provides borrow/return semantics with validation. Shows a clean pattern for pooling thin wrappers around gRPC channels, applicable to any gRPC client needing multitenant connection management.

file: sdk-core/src/main/java/io/milvus/pool/ClientCache.java ↗ | tags: #connection-pool #pool-cache #commons-pool
Last analyzed: 2026-09-23 17:46:35.997217
Next check: 2026-09-30 17:46:35.994706
$ submit: