Streaming Kafka data into Qdrant

Streaming Kafka data into Qdrant uses a Kafka Connect sink connector that writes message payloads as vectors and payload fields. This page covers the setup sequence, message format, vector types and the production checks to make before relying on it.

On this page

Streaming Kafka data into Qdrant with a Kafka Connect sink

When embeddings or documents are produced on Kafka topics, they need to reach a self-hosted Qdrant collection continuously rather than in periodic batch loads. The method this section covers is the Qdrant-Kafka sink connector, a plugin that runs inside Kafka Connect and writes records from topics into a Qdrant collection. Kafka Connect is part of Apache Kafka itself, so the connector sits alongside your existing Kafka cluster rather than replacing any part of it. The connector is installed from Confluent Hub, which is where the connector is distributed, and it is then configured through the Kafka Connect REST API, since Kafka Connect has no graphical interface of its own.

Before you rely on the connector, confirm three things with its published documentation and your own environment. First, confirm the connector version that matches your Kafka Connect release, because Kafka Connect ships with each Kafka release and the supported Kafka releases are 4.3.1, 4.2.2 and 4.1.2. Second, confirm the exact configuration keys for the message format, the vector field mapping, and the named, sparse and multivector options, because those settings decide whether your records are read as intended. Third, confirm that your Kafka Connect workers run on Java 17, which Kafka 4.x requires for Connect, and that your Qdrant version is one the connector documents as compatible. Kafka Connect manages connector offsets for you, so a restarted task resumes from its last committed position, but you should test that behavior with your own topics before production use.

Treat the connector as a data path with its own access controls. The Qdrant server ships with no authentication by default, so the connector's Qdrant API key and TLS settings must be configured and tested before the connector is pointed at a shared cluster. On the Kafka side, the connector needs a principal with read access to the source topics and the Connect internal topics, and authorization in KRaft clusters denies resources without ACLs unless that default is changed, so confirm your ACLs in the Apache Kafka authorization documentation before the first run.

What you need before installing the Qdrant Kafka connector

The connector sits between three systems: a Kafka cluster, Kafka Connect workers that run the sink, and a Qdrant server that stores the vectors. Each side has its own version, security and storage rules, and the sink only works when all three agree. Check these items before you install anything.

Supported Apache Kafka release

Use one of the supported Apache Kafka lines: 4.3.1, 4.2.2 or 4.1.2. Kafka Connect ships with each Kafka release, so the workers you run should come from the same release line as your brokers. Earlier releases are archived and should not be your target for a new connector deployment. Ask your platform team which release line your organization patches on a schedule, and confirm that the connector version you plan to use supports it.

Kafka downloads

KRaft-based Kafka cluster

Kafka 4.x supports only KRaft mode, and ZooKeeper mode has been removed. If your existing clusters still run ZooKeeper, migrate them to KRaft before you upgrade to 4.x, and do not plan a Connect deployment on top of a ZooKeeper cluster that is about to be upgraded. Confirm that the cluster has the topics, partitions and retention you expect for the source data, since the sink reads from those topics.

Java 17 for Kafka Connect

Since Kafka 4.0, brokers, Kafka Connect and tools require Java 17. Install the same Java runtime on every Connect worker, and do not assume the runtime on a shared application host matches it. Clients that only produce to topics need less, but the workers that run the Qdrant sink are the component that must meet this requirement.

Qdrant release line

Run a Qdrant server from a release line that the connector and your client libraries support. The latest GitHub release at the time of the researched facts was v1.19.2, published October 5, 2026. Confirm the connector's documented compatibility before you choose a version, and plan upgrades on the Qdrant side with the same care you give Kafka, because the Connect workers write to whatever version is running.

Qdrant releases

Qdrant API key and TLS

A self-deployed Qdrant instance listens on all network interfaces and has no authentication configured by default. Before the connector connects, create an API key with write access to the target collection, enable TLS for the REST and gRPC endpoints the sink uses, and restrict the port to the Connect workers. Store the key in your secrets manager rather than in connector JSON that is committed to a repository.

Qdrant security docs

Pre-created collection and block storage

Create the target collection before the first message arrives, with vector size, distance metric and named, sparse or multivector configuration matching the embeddings in your topics. A mismatch is hard to fix later without reindexing. Qdrant also needs block-level storage with a POSIX-compatible file system. It cannot run on NFS or S3-style object storage, so keep the data path on local SSD or NVMe volumes.

Network and certificate path

Connect workers open outbound connections to Qdrant, so the firewall rules must allow the Connect network to reach the Qdrant ports you expose. If Qdrant uses a private certificate authority, install that CA in the worker trust store of every Connect node and test the handshake from each node, not only from one. Confirm that the Connect workers and Kafka brokers can resolve each other's hostnames, since a broken name lookup often looks like a Qdrant failure.

How to configure the sink from install to first write

This sequence takes a team from an empty Kafka Connect worker to a verified test point in Qdrant, with a check at each step so problems surface before real topics are connected. It produces a working sink you can reproduce in a staging environment before production.

  1. Confirm the Kafka and Qdrant versions in use

    Before installing anything, the platform engineer records the Kafka release, the Java runtime on each Connect worker, and the Qdrant version on the target cluster. Kafka 4.x brokers, Connect and tools require Java 17, and the supported Kafka releases are listed on the Apache Kafka downloads page, so confirm your Kafka line is one of them. Check the connector's own documentation for the Qdrant versions it supports. The step is done when the versions are written into the change record and match the compatibility notes in the connector documentation.

  2. Install the connector from Confluent Hub

    The platform engineer installs the Qdrant sink connector from Confluent Hub onto each Connect worker, using the Confluent Hub client or the packaged archive, and places it in a directory listed in the worker's plugin path setting. Restart the worker so it scans the plugin directory again. The step is done when the connector class appears in the list of installed connector plugins returned by the Connect REST API, and the worker log shows no plugin loading errors.

  3. Configure the Connect worker in distributed mode

    The platform engineer sets up each Connect worker in distributed mode with a shared group identifier, the bootstrap servers of the Kafka cluster, and the internal topics Connect uses to store configuration, offsets and status. Kafka Connect manages connector offsets automatically, so the connector itself does not handle offset commits. Security settings for the Kafka client connection (SSL or a documented SASL mechanism) are added here if the cluster requires them. Take the exact key names from the Kafka Connect documentation for your release. The step is done when every worker joins the same group and the REST API on each worker responds.

  4. Create the target collection and check its vector definitions

    The platform engineer creates the Qdrant collection before the connector runs, with a vector size and distance metric that match the embeddings the messages will carry. If the topic will send named, sparse or multivector data, the collection must define those vector names or types in advance. Confirm the collection with the Qdrant API by reading its configuration and comparing the vector names, sizes and distance settings to the message format. The step is done when the collection info matches the message contract exactly, because a mismatch is the most common cause of failed writes.

  5. Create the connector through the Connect REST API

    The platform engineer posts the connector configuration to the Connect REST interface, supplying the connector class, the Kafka topic to read, the Qdrant URL and access settings, and the collection name. Connect has no graphical interface, so this call (or a third-party tool) is the only way to create the connector. Keep the configuration in version control and take every key name from the connector's own documentation. The step is done when the REST API reports the connector and its task as RUNNING in the status endpoint, with no task trace errors.

  6. Send a test message and inspect the connector status

    The engineer produces one test message to the source topic using a format that matches the connector's documented message structure, including the vector and payload fields. The connector status and worker log are checked for the record being consumed without errors. If the task fails, the engineer reads the trace in the status endpoint before changing anything. The step is done when the connector task shows no failure and the Kafka consumer group offset has advanced past the test message.

  7. Verify the stored point in Qdrant

    The engineer retrieves the stored point from the target collection by its identifier, then compares the vector values, vector name if one is used, and payload fields with the test message. Confirm the point count in the collection increased by one. Repeat the check with a message that uses each vector type the topic will carry, such as named, sparse or multivector data. The step is done when every field in the stored point matches the source message, which is the evidence needed before connecting real topics.

How Kafka message format maps to Qdrant points

The connector turns each Kafka record into one Qdrant point, so the first design decision is which part of the message carries the point identifier, which carries the vector and which carries the payload. Plan this mapping per topic before any producer writes to it, because changing it later usually means re-ingesting data. Confirm in the Qdrant-Kafka connector documentation exactly which fields the connector reads from the record key and value, how the identifier must be typed, and whether the vector and payload are read from separate JSON fields or from one object. Identifiers that change on every produce call create duplicate points instead of updates, so ask the producing team to derive IDs from a stable business key.

Serialization choices shape how much the connector can validate. JSON is easy to inspect with standard tools, but a malformed value, a missing field or a number stored as a string will only surface when the connector parses it. Avro with a schema registry moves type checks to the producer and lets you reject bad records before they reach the topic, though it adds a registry service to run and secure. Whichever format you pick, confirm which converters the connector version supports and test each one with a sample topic. Decide in advance whether a parse failure should stop the task, skip the record or route it to a dead-letter topic, and confirm which of those behaviors the connector offers.

Two failure cases need a written answer before go-live. A malformed message can fail a task or be skipped, and skipped records are silent data loss unless you count them. A vector whose length differs from the dimension configured on the target collection will be rejected by Qdrant, so the producer and the collection must agree on the embedding model and its output size. Run a test batch with a deliberately wrong dimension and a malformed record, then confirm the error reaches your monitoring. Also confirm how named, sparse and multivector fields are addressed in the message, since each collection layout expects a different field structure.

Choosing named, sparse or multivector fields for each topic

The simplest shape is one dense vector per point, produced by one embedding model and stored in the default, unnamed vector slot. It fits topics where a single model covers the content and the queries, such as one product catalog embedded with one text model. The collection must be created with a vector size that matches the model's output dimension and a distance metric that matches how the model was trained. Each Kafka message then carries one numeric array of exactly that length, plus payload fields that queries can filter on.

  • Collection setup: create the collection before the connector starts, using the dimension and distance metric from the model documentation, not from a sample output.
  • Message body: each record carries one float array of the declared length and a stable point ID. Confirm in the connector documentation which field holds the vector and where the point ID comes from.
  • Storage trade-off: one vector per point is the cheapest shape to store and the simplest to query. Storage grows with dimension and point count, and replication multiplies that footprint.
  • Model changes: a new embedding model usually means a new collection, because the unnamed slot holds one vector space. Plan re-embedding from your source topic or retained data before cutover.

Check how the connector reports a message whose array length does not match the collection, and test one malformed record in a non-production topic.

Mapping Kafka fields to Qdrant ids, vectors and payload

This table pairs each Kafka message field with the Qdrant target it fills, the type Qdrant expects, and what breaks on a mismatch. Read it before writing the producer schema, because a wrong type or dimension is usually rejected at write time or leaves points unsearchable. Items marked for confirmation depend on field names and handling in the connector configuration reference for your version.

Kafka sourceQdrant targetExpected typeFailure if mismatched
Message keyPoint idUnsigned integer or UUID string, unique per point. Confirm whether the connector reads the key as the id.Points overwrite each other when keys repeat, or inserts fail when the key is not a valid id.
Topic nameCollection nameMust match a collection that exists (confirm whether the connector creates it).Writes fail or land in the wrong collection when the topic-to-collection mapping is missing.
Dense vector fieldUnnamed or named vectorArray of floats whose length equals the collection vector size. Confirm the field name setting.Inserts are rejected on dimension mismatch, so a model change silently stops the stream.
Multivector fieldNamed multivectorArray of equal-length vectors, on a collection created for multivectors. Confirm connector support in your release.Points are rejected or stored with the wrong shape, and reranking queries return unexpected scores.
Sparse vector fieldNamed sparse vectorMap of non-negative integer indices to numeric weights. Confirm the sparse field key names.Values stored as dense or with invalid indices leave hybrid queries returning no sparse matches.
Metadata fieldsPayload keysJSON scalars, arrays or nested objects. Confirm whether the whole value or selected fields are copied.Type drift between messages breaks filters, and fields missing from the payload index never match.
Message value formatParsed point bodyJSON or Avro converter matching the producer schema. Confirm the converter setting for your topics.Unparsed or mismatched bytes produce error records or empty points, which are hard to spot later.

Securing the path from Kafka topics to Qdrant

A Kafka-to-Qdrant pipeline has three access boundaries: the Kafka cluster, the Kafka Connect REST interface that manages the sink, and the Qdrant API that receives the vectors. Each one ships with its own authentication and authorization settings, and none of them inherit from the others. Check all three before the connector carries production data.

Kafka client authentication

Kafka authenticates clients, brokers and tools with SSL or one of the documented SASL mechanisms: GSSAPI (Kerberos), PLAIN, SCRAM-SHA-256, SCRAM-SHA-512 and OAUTHBEARER. Pick the mechanism your identity platform supports and give the sink connector its own principal, separate from producers and consumers. Confirm the connector's client settings for that mechanism in your Connect worker configuration, since a shared admin credential is hard to rotate later.

Kafka security overview

Encryption in transit

Kafka encrypts traffic between clients, brokers and tools with SSL/TLS, but security is optional, so a cluster can run unsecured or mix secured and unsecured listeners. Verify that the listener the Connect worker uses is TLS-protected and that no plaintext listener is reachable from the network segment where the connector runs. The Qdrant leg needs its own TLS decision, covered separately below.

ACLs in KRaft clusters

In KRaft clusters the StandardAuthorizer stores ACLs in the cluster metadata log. Resources without ACLs are restricted to super users unless allow.everyone.if.no.acl.found is set to true. Grant the connector principal read on the source topics, the consumer group it uses and the Connect internal topics, and write where needed. Leaving that flag at true opens every unmapped topic to every client, so test the sink with it unset.

Kafka authorization docs

Connect REST API access

Kafka Connect is administered through a REST interface, and connector configuration is done through that API or third-party tools. Anyone who can call it can create, edit or delete a sink, and connector configs can contain Qdrant keys. Restrict the REST listener to administrators and automation hosts, place it behind your network controls, and confirm which identities can change connector configuration before go-live.

Qdrant API keys and TLS

Self-deployed Qdrant listens on all network interfaces with no authentication by default. Configure an admin or read-only API key, enable TLS for REST and gRPC, and give the sink a write-capable key scoped to its collection where your Qdrant version supports JWT-based per-collection permissions. Store the key in a secrets manager, not in connector JSON committed to version control.

Qdrant security docs

Where payload data lives

Each message's payload is written into Qdrant alongside its vector, so anyone who can query the collection can read that data, and Qdrant snapshots copy it too. Decide which payload fields are needed for filtering and which should be dropped in a transform before they reach Qdrant. Ask who can read the collection, where its storage sits and where snapshots are kept, and confirm that the retention rules for the source topic match those for the vector copy.

Common failures when Kafka writes to Qdrant

This table pairs each common failure with its likely cause and the check to run first. Read it when a connector deploy or restart goes wrong, and work down the rows in order because several symptoms share a root cause. The main takeaway is that most failures trace back to the Connect plugin path, the Kafka ACLs, the collection vector configuration, or offsets that Kafka Connect tracks for you.

FailureLikely causeCheck to run
Connector plugin not found after installThe connector archive was not unpacked into a directory listed in plugin.path, or the worker was not restarted after copying filesConfirm plugin.path in the worker config points to the parent folder, restart the worker, then list installed plugins through the Connect REST API
Connect worker fails to start on an unsupported Java versionKafka 4.x brokers, Connect and tools require Java 17, so an older JRE on the Connect host stops the workerRun java -version on the Connect host and the worker's runtime, and upgrade to Java 17 before retrying the start
ACL denials on the source topicsThe Connect principal lacks Read on the topic and Describe on the consumer group, or the cluster is in KRaft mode with no ACLs and super users are the only allowed principalsCheck ACLs for the Connect principal with the Kafka ACL tooling, and confirm allow.everyone.if.no.acl.found is not relied on for production
Vector dimension mismatch with the collectionThe collection was created with a different vector size or distance metric than the embedding model output, or a named or multivector field name does not match the message fieldCompare the collection vector configuration with the embedding length and the configured vector field names, then recreate the collection or correct the mapping
Unauthenticated connections to QdrantBy default self-deployed Qdrant listens on all interfaces with no authentication, so the connector can reach it without a key, and a missing API key setting causes rejected calls when keys are enabledConfirm an API key is set on Qdrant and in the connector config, and check that the Qdrant port is reachable only from the Connect network
Duplicate or missing points after restartsConnect commits source offsets automatically, so a restart can replay messages that were written but not yet committed, or skip data if offsets were reset or topics were recreatedInspect the connector offsets through the REST API, check point IDs are deterministic so writes are idempotent, and compare point counts with the topic end offsets after a controlled restart

What to verify before relying on the pipeline in production

Before the pipeline carries production traffic, confirm the version chain end to end. Apache Kafka 4.x runs only in KRaft mode, brokers and Kafka Connect require Java 17, and the supported releases on the Apache Kafka downloads page change over time, so check which release line your brokers and Connect workers use today. Connect ships with each Kafka release, so the Connect worker version follows the broker line you pick. Write down the upgrade path before go-live: rolling upgrades are supported from the last three releases to the latest, and clusters still on ZooKeeper must migrate to KRaft first. Confirm the Qdrant side too, because the sink's Qdrant client must match the server version you run, and Qdrant upgrades are a separate change with their own checks.

Test failure and retry behavior on purpose. Stop the Qdrant node, break the broker connection, and send a malformed message, then observe what the connector does with each. Check whether a bad record is retried, skipped or stops the task, and whether the dead-letter behavior you need is configured in the connector properties. Confirm that offsets are committed only after a successful write, because Kafka Connect manages offsets for the connector, so a replayed batch can produce duplicate points unless point IDs are deterministic. Ask the connector maintainer how repeated upserts are handled, and verify it against a collection you can recount.

Measure throughput against the real cluster, not a single test node. Use message sizes, vector dimensions, multivector shapes and peak rates that match production, and run the load for long enough to include optimizer activity and shard rebalancing. The cluster topology sets the ceiling: the Qdrant distributed deployment docs recommend at least three nodes for production so quorum survives a node failure, and replication roughly multiplies write work. Monitor connector task status and lag through the Kafka Connect REST API, alert on failed tasks, and keep a rollback plan that stops the connector, pauses the topic, and restores the target collection from a snapshot if a bad mapping reached it. The connector is one component of the pipeline, so test the whole chain under realistic volume before you depend on it.

Questions teams ask before streaming Kafka into Qdrant

Does the Kafka to Qdrant connector cost anything to use?

The Qdrant-Kafka sink connector is open source, but running it is not free. The connector itself carries no license fee, while you pay for the Kafka brokers, Kafka Connect workers, the Qdrant cluster, storage, network traffic and the people who operate them. Apache Kafka is released under the Apache License 2.0 with no paid edition from the project itself, and the open-source Qdrant engine is free to self-host under Apache-2.0. Ask any vendor or partner to separate the one-time build work from the recurring infrastructure and support costs in the quote.

What drives the cost and effort of a Kafka to Qdrant pipeline?

The main drivers are the number of topics, how many message formats each topic carries, the schema work needed to map payloads to vectors and payload fields, and how much testing the pipeline needs before production. Named, sparse and multivector configurations add design and verification work. Each additional topic usually repeats mapping, error handling and monitoring work, so ask a quote to list the topics and formats individually rather than as one lump sum.

How long does it take to deliver a Kafka to Qdrant pipeline?

Duration depends on the message format, the collection design and the volume of test data you can supply. A pipeline with one well-documented JSON format and a collection designed up front moves faster than one that needs several vector shapes, new payload indexes and load testing at production volume. No fixed timeline applies across environments. Your written scope should state the milestones, the test volume and who signs off each stage before work begins.

What do we need to provide before a Kafka to Qdrant project starts?

Plan to provide the following before work starts:

  • Network and credential access to the Kafka cluster and to the Qdrant cluster, with the topics and collections in scope named
  • Sample messages from each topic, including key fields, expected vector dimensions and any sparse or multivector data
  • Collection requirements: vector names, distance settings, payload fields used for filtering and expected growth
  • Security sign-off on how the connector authenticates to Kafka and Qdrant, and where the connector runs

Missing samples are the most common cause of rework, so request them early.

Can our own team build and run this without a partner?

Yes, if your team already runs Kafka Connect and Qdrant and has engineers who can read the connector documentation. The Kafka Connect overview describes administration through a REST interface rather than a graphical console, so connector configuration is done through the API or third-party tools. A partner is useful when the team lacks Kafka or Qdrant operating experience, needs independent security testing of the pipeline, or wants the work delivered as a fixed scope with written verification steps.

What should we check before relying on the connector in production?

Check that the Kafka version is supported, since the Kafka downloads page lists 4.3.1, 4.2.2 and 4.1.2 as supported releases, and that Kafka 4.x clusters run in KRaft mode. Confirm TLS and SASL settings on both sides, review ACLs in the StandardAuthorizer, and test restart and offset behavior, since Kafka Connect manages connector offsets. Load-test with production-like message sizes, and confirm the Qdrant collections exist with the expected vector configuration before the first write.

Do Apache Kafka or Qdrant have a paid edition we should buy instead?

Apache Kafka has no paid edition from the project itself, and its code is licensed under Apache-2.0. Qdrant is also open source under Apache-2.0, and the engine is free to self-host. Qdrant offers paid products around the engine: Qdrant Cloud with usage-based and Premium tiers, and Qdrant Hybrid Cloud and Private Cloud, which are priced through Qdrant sales. Paid offerings change what you operate and what support you receive, so compare them against your own hosting and support needs before choosing.

How DeployOpen scopes and delivers this integration

DeployOpen plans and builds the Kafka to Qdrant pipeline inside your own infrastructure, starting from the topics, message format and vector layout your teams already use. We test the connector against your data and your Qdrant and Kafka settings, then document and hand over the working setup so your team can run it.

How we scope

  • Written scope lists the topics, message schema and vector fields the connector will read and write.
  • Scope records whether each collection uses named, sparse or multivectors, and which Qdrant settings apply.
  • Scope confirms the Kafka version, Java runtime, Connect mode and authentication your environment uses.

How we build

  • We install the Qdrant-Kafka sink connector into your Kafka Connect environment and configure it through the REST API.
  • We test with representative messages, including malformed records, to confirm vector mapping and payload fields.
  • We verify Kafka ACLs, Qdrant API keys and TLS settings so the connector runs with least privilege.

How we hand over

  • Handover includes the connector configuration, message format specification and collection creation steps.
  • Runbooks cover restarts, offset behavior, failed record handling and how to pause or replay a topic.
  • Your team receives a checklist for production readiness and the test results from the build phase.

How we support

  • Fixed-scope engagements are agreed in writing before work starts, with deliverables and timelines stated.
  • Ongoing support, connector upgrades and continuous testing are available as a retainer.
  • Quotes follow from the written scope, so ask for each component, such as testing and handover, to be priced separately.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.