Building a Milvus Connector For NiFi

Tim Spann
Cloudera
Published in
3 min readApr 28, 2024

Apache NiFi, Python, Milvus, Zilliz, Cloudera, Vector Database

If you are interested in Milvus with Enterprise Data and Enterprise AI, join us on May 1st, 2024 (or later via Youtube) in this awesome AI + RAG + Milvus + NiFi + LLM + GenAI Event.

For the first step, we will test a simple Python script using pymilvus 2.4 to insert Medium articles into our Milvus database.

Source Code

Example Result

{
"uuid" : "52e64557-fee1-4575-86bd-6b2d339c4f1a",
"systemtime" : "04/02/2024 21:02:50",
"ts" : 1712106170,
"milvusdbname" : "_default",
"milvusinsertresult" : "(insert count: 1, delete count: 0, upsert count: 0, timestamp: 448818359205888002, success count: 1, err count: 0)",
"milvuscollectioname" : "MilvusDocs",
"milvusdocsource" : "Medium",
"maxseqlength" : "512",
"embeddinglength" : "768"
}

Attu Milvus Display

--

--

Tim Spann
Cloudera

Principal Developer Advocate, Zilliz. Milvus, Attu, Towhee, GenAI, Big Data, IoT, Deep Learning, Streaming, Machine Learning. https://www.datainmotion.dev/