StarRocks vs Apache Druid for GDPR and EU data residency

Both are self-hosted Apache-2.0 projects, so the data stays where you run them and the GDPR duties stay with the organization that runs them. This page covers only the GDPR and EU residency angle; the general comparison is on its own page.

On this page

StarRocks vs Apache Druid for GDPR: which fits EU data residency

An EU organization that must show where its analytics data and logs sit should choose between StarRocks and Apache Druid by asking which side it can keep in-region and document, because neither product makes a deployment GDPR compliant. Under Regulation (EU) 2016/679, the operator of a self-hosted cluster carries controller or processor duties whichever engine runs underneath, so the engine choice is one input to the compliance design and does not settle it. This section covers only the GDPR and EU residency angle. The general comparison of licenses, architecture, features and operations sits on its own page and is not repeated here.

StarRocks fits when the team wants region choice tied to its own infrastructure. In shared-data deployments the data lives in object storage such as S3, GCS, Azure Blob Storage, MinIO or HDFS, so the bucket's location becomes a residency decision the team controls directly. It also fits when the team can document its audit logging, meaning it can confirm where audit records are written, who can read them and how long they are kept, starting from the StarRocks AuditLoader documentation. Druid fits when the team already runs it and can document its security configuration and request logging. Its Master, Query and Data server roles and deep storage must all sit in an approved EU region, and every one of them needs written configuration evidence before go-live.

Four decision points should settle the choice before any data is loaded. Region control asks whether every node, bucket, backup and replica sits in an EU region you can name in a data map, and whether any support or telemetry path moves personal data outside the EU, which Chapter V of the GDPR governs for transfers to third countries. Logging destinations asks where query, audit and access logs are stored, how long they stay, and whether they carry personal data that must be protected under Article 32. Access model asks how SSO, roles and service accounts map to the people allowed to query personal data. In-house documentation skills asks whether your team can produce the configuration evidence an assessor will request, since the operator answers for it. Confirm each point with your data protection officer and the engineers who will run the cluster.

What GDPR asks of a StarRocks or Druid deployment

Five duties shape what an EU data warehouse or lakehouse must show an assessor. Each card names one duty and explains what it means for a StarRocks or Apache Druid cluster that you run yourself. The duties connect because, when the cluster sits in your own infrastructure, your organization carries most of them.

Controller and processor duties

Chapter IV (Articles 24 to 43) sets what a controller or processor must do, from records of processing to impact assessments and written terms with suppliers. Self-hosting means your organization selects the region and carries these duties for every cluster, backup and deep storage bucket. Check who is the controller and who is the processor for each dataset, and whether any vendor or implementation partner handles personal data on your behalf under a written agreement.

Security of processing

Article 32 (Security of processing) asks for technical and organizational measures matched to the risk, such as access control, encryption and the ability to restore data. In a StarRocks or Druid deployment, that covers the frontend and backend nodes or the Coordinator and Historical servers, the object or deep storage behind them, and the query and ingest logs. Check how each platform authenticates users and where its audit trail is kept. The Druid security overview covers Druid's side, but your control design still has to be your own.

Druid security overview

Breach notification

Articles 33 and 34 require the controller to notify the supervisory authority of a personal data breach and, in some cases, the affected individuals. The timing and content of each notice depend on facts that only your logs can establish, so the warehouse must keep records showing what was accessed, by whom and when. Confirm with counsel what your incident runbook must contain, then test that your team can pull those records from each cluster and its object storage within the window your runbook sets.

Transfers to third countries

Chapter V (Articles 44 to 50) governs transfers of personal data to third countries outside the EU. In our reading, the regulation controls transfers and does not set a storage location outright, so an EU region can still produce a transfer through remote vendor support, offshore administrators or backups copied elsewhere. Confirm that reading with counsel, then map every path that moves data out of the region, including cloud provider support access and disaster recovery copies.

Enforcement and fines

National supervisory authorities enforce GDPR under Article 51, and the European Data Protection Board issues guidance and resolves disputes between authorities through binding decisions under Articles 65, 68 and 70. Article 83 sets maximum fines of EUR 10 million or 2% of total worldwide annual turnover for infringements such as Articles 25 to 39, and EUR 20 million or 4% for infringements of the principles, lawful basis, data subject rights and transfer rules, whichever is higher. Confirm which authority supervises your organization.

GDPR text on EUR-Lex

Where the data sits inside the operator's trust boundary

Users and BI tools sit inside the organization's EU cloud account or data center. In the StarRocks path, frontend nodes plan queries and compute nodes read data from object storage in the same region. In the Druid path, Master servers assign segments, Query servers route requests and Data servers read deep storage. Audit and request logs from both paths should stay in region. The only crossing is a remote administrator or vendor support session, which should pass a documented transfer check point. Confirm each storage, log and access location in writing before go-live.

Data and logs stay in region; only admin and support sessions cross.

How StarRocks and Apache Druid meet each GDPR duty as documented

This table sets the GDPR duties that apply to a warehouse or lakehouse holding personal data against what each project's documentation says about them. Read each row as a question to answer for your own deployment, since both products are self-hosted and the operator carries the GDPR obligations. The main takeaway is that the evidence you show an assessor must come from your own configuration and from the docs for the exact version you run.

RequirementStarRocks as documentedApache Druid as documented
Data location and controller or processor rolesData stays where the operator runs the cluster; the operator selects the region and carries controller or processor duties.Data stays wherever the operator runs the cluster and deep storage; the operator is responsible for GDPR obligations.
Security of processing (Article 32)Self-hosted, so the operator selects and evidences the controls. Confirm the hardening settings in the docs for your version.Self-hosted, so the operator selects and evidences the controls. Start with the security overview and confirm settings for your version.
Breach detection and notification (Articles 33 and 34)Detection and notification sit with the operator. Use the audit and FE logs as inputs and confirm what each records.Detection and notification sit with the operator. Use request logs as inputs and confirm what each records.
Audit loggingAuditLoader and FE log configuration docs describe logging. Check issue 82691 for its status before citing it.The request logging page describes what is recorded. Confirm whether administrative and query actions are covered for your version.
Access control and encryptionConfirm user, role and encryption settings in the StarRocks docs for the exact version you run.Confirm authentication, authorization and encryption settings in the security overview for your exact version.
Transfers (Chapter V)Transfers follow from where the operator places the cluster, so the operator controls the region and any copies it makes.Transfers follow from where the operator places the cluster and deep storage, including any copies it replicates elsewhere.

What the project covers and what the organization still configures

Each card is one responsibility area where the project's documentation stops and the organization's own configuration starts. A self-run open-source install carries no vendor agreement or attestation, so the evidence for each area comes from your environment. If you move to a managed-service provider, ask for its own terms in writing before you rely on them.

Region and data location

Both StarRocks and Apache Druid are self-hosted, so data stays wherever you run the cluster and its storage. The operator selects the region and carries controller or processor duties under the GDPR. Map every place personal data can sit: compute nodes, storage buckets or deep storage, backups, snapshots and logs. The architecture docs for each project show which components hold data, so use them as the starting map for your region decisions.

Object and deep storage

In shared-data StarRocks, data lives in object storage such as S3, GCS, Azure Blob Storage, MinIO or HDFS, while stateless compute nodes run queries and cache data. Druid keeps published segments in deep storage that you choose. The StarRocks architecture docs explain this split, but bucket region, encryption, access policy and deletion settings are yours to configure. Record each bucket's location and owner, then test that a deleted record disappears from storage and caches as your erasure procedure assumes.

StarRocks architecture docs

Access control and admin accounts

Start with Druid's security overview and confirm which authentication options your version supports. For StarRocks, confirm the authentication, role and privilege model in the documentation for your exact version before you design it. Either way, you define who holds admin rights, how service accounts for ingestion and BI tools are scoped, how access is reviewed and how removals are recorded. Keep a named list of admin accounts so an assessor can compare it against directory records.

Druid security overview

Audit and request logging

StarRocks documents AuditLoader for collecting audit logs and describes its server log settings in the FE log configuration. Druid documents its request logging separately. Confirm the default retention for each log type in your version, then set retention to match your own schedule and keep the logs in the same region as the data. Decide who reviews them and how quickly you can trace which personal data a suspected breach touched, since Articles 33 and 34 depend on knowing what personal data was affected.

StarRocks AuditLoader docs

Encryption and key handling

Encryption works in layers: client connections, traffic between nodes, object storage or disks, and backups. Confirm the TLS, encryption at rest and key management options for each StarRocks and Druid version you run, since the settings may differ by layer. Your team owns key creation, rotation and custody, along with the access records for the key store. Article 32 asks controllers and processors to put appropriate technical and organizational measures in place, so file this evidence with your security of processing records.

GDPR text

The evidence a GDPR assessor asks for and where each side produces it

An assessor starts with where personal data is stored, in which region, and who operates the systems that hold it. Both products are self-hosted, so the answer comes from your own deployment records. In StarRocks, the location is set by where you run the frontend and backend nodes or the stateless compute nodes, plus the bucket or HDFS location used for shared-data storage. In Apache Druid, it is set by where you run the Master, Query and Data servers and the deep storage they depend on.

  • Node and cluster placement: Record the region of every StarRocks FE, BE or CN node and every Druid Master, Query and Data server.
  • Object storage location: In StarRocks shared-data deployments, the S3, GCS, Azure Blob Storage, MinIO or HDFS location holds the data itself, so its region belongs in your records.
  • Deep storage for Druid: Segments live in the deep storage you configure, so its provider and region need the same documented decision as the servers.
  • Backups and replicas: Snapshots, replicas and disaster recovery copies create additional locations that the assessor will ask about, including any copy held outside the EU.

Check that every node, bucket and backup target appears in your processing records with a named region, because the assessor will compare that inventory against the deployed topology.

EU residency alone does not settle GDPR

Keeping the primary cluster in an EU region answers only part of the residency question. Personal data also travels through copies made on purpose and through flows that teams rarely treat as data stores. Check each one separately: backups and disaster recovery copies, replication between object storage buckets (for example, the S3, GCS, Azure Blob or MinIO buckets behind a shared-data StarRocks deployment, or the deep storage behind Druid), and log output. StarRocks audit logs and Druid request logs are written wherever you send them, so their destinations need the same check. Each flow needs its own answer on location, retention and who can read it.

Remote administration and support are the flows most often missed. Consider this illustrative case: during an incident, an engineer in a third country restores a backup into a cluster in another region to shorten recovery. That restore moves personal data outside the EU, and the transfer rules in Chapter V of the GDPR (Articles 44 to 50) may apply. The same question arises when a vendor support session opens a shell on a node, or when telemetry or crash reports leave the network. Access rules and incident runbooks should name the permitted regions before an incident forces a decision.

Map every flow in the data inventory before you settle on a region for each component. For each flow, record the data categories, the source and destination regions, any transfer mechanism, who can initiate it and where its logs go. Then confirm each flow with counsel or your data protection officer, because whether a flow counts as a transfer and which safeguards apply are legal determinations that an engineering review cannot settle alone. Ask your implementation partner and the vendor for the configuration behind each flow. Treat any flow you cannot map as an open item in the assessment file.

Configuring the chosen side for a GDPR residency review

This sequence turns a chosen StarRocks or Apache Druid deployment into something a residency reviewer can inspect. Each step ends with a record, configuration or test result that can go into the evidence file. Because both products are self-hosted, the operator carries the controller or processor duties at every step.

  1. Confirm the legal reading with counsel and the DPO

    Before any build work, counsel and the data protection officer agree in writing what location, transfer and processor terms mean for this workload. The review should cover which personal data will sit in the warehouse, which staff or vendor support paths could reach it, and which third-country access routes exist. The operator is responsible for GDPR obligations on a self-hosted cluster, so this decision sets the region and vendor scope for every later step. Done when the signed reading is filed with the project record and the assumptions behind it are listed.

  2. Record accounts and regions in the data inventory

    Add each cloud account, region, data center, backup location and object or deep storage bucket that will hold StarRocks or Druid data to the record of processing and the data inventory. Include every frontend, backend and compute node, the Druid Coordinator, Broker and Historical servers, and any support tool that can read the data. Done when every location in the inventory matches a resource the infrastructure team can show, and anything outside the approved list is flagged for removal.

  3. Deploy only in approved regions with egress controls

    Provision the cluster and its object or deep storage only in regions on the approved list, using infrastructure-as-code so the region is set in one reviewed file. Restrict outbound network paths from the nodes so data cannot leave for unapproved endpoints, and confirm that backups and snapshots land in the same approved regions. Done when a network and region review shows no route from the cluster to a destination outside the approved set, and the review is saved with the deployment record.

  4. Configure authentication and least-privilege roles

    Configure authentication, admin roles and least-privilege access using the project documentation for the exact version you deploy. Do not carry settings over from older guides or blog posts. For Druid, start from the Druid security overview and confirm which authentication and authorization options your build includes. For StarRocks, map admin and analyst roles to its privilege model. Done when a test account with a read-only role cannot run admin statements or change cluster settings, and the test output is saved with the access review.

  5. Turn on audit logging with in-region retention

    For StarRocks, configure AuditLoader or the FE logs as the project documents for your version. For Druid, enable request logging. Send logs only to in-region storage, set retention to whatever your records policy requires, and confirm that no log shipper forwards data to an external service. Done when a test query run by a test user appears in the in-region log store with the fields your configuration promises, and the retention setting is captured in the configuration record.

  6. Set encryption in transit and at rest

    Set encryption in transit and at rest through the project and storage provider settings. Enable TLS on client and internal connections where the deployed version supports it, and enable server-side encryption on the object or deep storage bucket, with keys managed as your key management policy requires. Confirm which options your version and storage provider actually offer, since the project and the cloud provider each control part of this. Done when the configuration files and provider settings are in the evidence folder and a test connection shows an encrypted session.

  7. Write breach runbook and test subject requests

    Write the breach runbook against the notification duties in Articles 33 and 34. It should name who detects an incident, who assesses risk to individuals, who notifies the supervisory authority, and how data subjects are told when required. Then test data subject access and deletion requests end to end on a copy of the data, including backups and derived tables. Done when a tabletop run of the runbook is recorded with named owners, and a deletion test confirms the records are gone from the warehouse and from every copy you control.

  8. Retest the setup after every upgrade

    Repeat the access, logging, encryption and deletion checks after each version upgrade, patch or storage change, because settings can change between releases. Compare the new configuration with the baseline from the earlier steps, and record any change in the data inventory and the processing record. Done when the retest output is filed with the upgrade ticket and every failed check is closed before the new version carries production data.

What buyers ask before hiring help with GDPR residency work

Does StarRocks or Apache Druid make my organization GDPR compliant?

No. Neither StarRocks nor Apache Druid makes an organization GDPR compliant, and neither vendor certifies a deployment. Both are self-hosted, so data stays wherever the operator runs the cluster and its storage. The operator selects the region and carries controller or processor duties. For StarRocks, that means the operator decides where frontend, backend or compute nodes and object storage sit. For Druid, the operator is responsible for the GDPR obligations that apply to the cluster and its deep storage. Overall compliance depends on how the organization handles personal data across every flow it runs. A supervisory authority or an independent assessor judges the result. DeployOpen prepares systems, controls and evidence for that assessment, but it does not issue audit reports, attestations or certifications.

What makes a GDPR residency project bigger or smaller?

Scope grows with five factors: the number of regions and cloud accounts, the logging pipeline, documentation volume, the access model and the number of data flows to map. Each one adds a different kind of work:

  • Regions and accounts multiply the storage, keys, network paths and backup locations that each need their own records.
  • The logging pipeline decides what audit and query activity is captured, where it goes and how long it is kept.
  • Documentation volume covers processing records, data flow diagrams, configuration baselines and runbooks.
  • The access model maps SSO, roles and administrator accounts to named people and tests who can read which data.
  • Each data flow, from a source into the warehouse and out to a dashboard or an export, has to be mapped and checked.

Ask for these counts to be written into the scope, because the same platform can need a light or a heavy engagement depending on them.

How long does a GDPR data residency engagement take?

The duration comes from the written scope, so no fixed timeline applies until scope, deliverables and milestones are agreed. Most DeployOpen engagements are fixed-scope, and those items are confirmed in writing before work starts. The main drivers are the factors in the scope question, how quickly your team provides cloud access and decisions, and whether the data flows are already documented. Ask for the dependencies on your side, the milestone that starts each stage and whether retesting or an evidence refresh falls inside the agreed scope. A timeline that does not name these dependencies is hard to check against progress later.

What does GDPR residency work cost, and who gets paid?

Both StarRocks and Apache Druid are licensed under Apache-2.0, so the software itself carries no license fee. Cost sits in four places. Your staff time covers design decisions, operating the clusters and reviewing evidence. Cloud resources cover compute, object storage, backups and logs in the regions you choose. Documentation work covers records, diagrams and runbooks, which is largely one-time effort but must be kept current as systems change. A support contract, if you buy one, recurs. DeployOpen is paid for the scoped services it agrees to deliver, such as implementation, testing or evidence preparation, and ongoing support, upgrades and continuous testing are available as retainers. DeployOpen does not publish a price list, so ask for a quote built from the written scope that separates one-time work from recurring items.

What does the organization have to provide for GDPR residency work?

Your team provides access, information and decisions, and the work cannot move faster than those inputs. The main requirements are:

  • Cloud and infrastructure access to the accounts, clusters and storage in scope.
  • A data inventory that names each source, data category and flow.
  • Region decisions, including where each cluster, backup and log store sits.
  • Named owners for the platform, the data, security and privacy functions.
  • Sign-off on documents, risk decisions and the final evidence set.

Decisions such as the lawful basis for each processing activity and retention periods remain the controller's responsibility, so they need an accountable owner before the technical work is finished.

Can our own team handle GDPR residency work without an outside partner?

Yes, if the team already has the operating skills and documentation capacity to finish the work. Operating StarRocks or Druid means running clusters, object or deep storage, backups, access control and logging, and keeping that configuration documented. Residency work also needs data flow mapping, processing records and evidence collected in a form an assessor can review. Check whether your team can produce that documentation on a schedule and keep it current after handover. If the answer is yes, write the scope the way a partner would: list the tasks, the deliverables, who owns each one and what the organization signs off. If the team lacks capacity in one area, a fixed-scope engagement can cover only that area, and the written scope sets the boundary.

What fines can apply under Article 83 of the GDPR?

Article 83 sets two maximum fine bands, and in each band the higher of the two figures applies. The first band reaches EUR 10 million or 2% of total worldwide annual turnover for infringements such as Articles 25 to 39, which include security of processing under Article 32. The second band reaches EUR 20 million or 4% for infringements of processing principles, lawful basis, data subject rights and transfer rules. These are statutory maximums, and the national supervisory authority sets any fine on the facts of each case. Residency design supports the controls regulators examine, but it does not remove liability. The text of the regulation is available on EUR-Lex.

How DeployOpen prepares the systems and evidence for review

For StarRocks vs Apache Druid for GDPR and EU data residency, DeployOpen plans, implements, hardens and documents the self-hosted platform inside your own cloud account, data center or air-gapped network, so your team selects the region and carries the controller or processor duties. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications; independent auditors and certification bodies do that work.

How we scope

  • The written scope lists which StarRocks or Druid nodes, storage buckets and regions are in the engagement.
  • Scope also records which personal data sets, flows and transfer paths sit inside the cluster and deep storage.
  • Deliverables, timelines and responsibilities are agreed in writing before work starts, and the quote follows from that scope.

How we build

  • Deploy the platform in your account or data center, with the region fixed for storage, backups, logs and query nodes.
  • Configure SSO, access control and audit logging, then confirm what StarRocks AuditLoader and Druid request logging record.
  • Harden the deployment for Article 32 security of processing, covering encryption, network segmentation and key handling, with each control documented.

How we hand over

  • An evidence pack that maps each configured control to the GDPR article it supports, for your DPO and assessors.
  • Written runbooks for backup, restore, upgrades and breach notification steps under Articles 33 and 34, owned by your team.
  • A residency record covering Chapter V transfers, showing where each data set and copy physically sits.

How we support

  • Retainers cover ongoing support, upgrades and continuous testing, so the evidence stays current after the first assessment.
  • Security testing of the deployed cluster, its APIs and its access paths, with a findings report, fixes and a retest.
  • Confirm with your counsel and DPO which controller and processor duties your team carries for each data set.

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.