Skip to content

Migrate from MilvusClient to AsyncMilvusClient #2684

@mattf

Description

@mattf

🚀 Describe the new functionality needed

Update the current codebase to replace all instances of MilvusClient with AsyncMilvusClient. This migration should support all existing functionalities using asynchronous equivalents, ensuring compatibility with Milvus operations (e.g., collection management, data insertion, querying, indexing) in an async programming model.

The new implementation should:

  • Use AsyncMilvusClient for all interactions with Milvus
  • Support asynchronous workflows using async/await
  • Maintain or improve current performance and stability
  • Be backward-compatible where possible or provide migration guidelines

💡 Why is this needed? What if we don't build it?

Alignment with Milvus SDK and Future Roadmap: Milvus SDK v2 emphasizes async-first functionality and concurrent workflows Milvus SDK v2.

Other thoughts

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions