Skip to main content

Event-Driven Identity Proofing with Didit and Apache Pulsar

Discover how combining Didit's AI-native identity verification with Apache Pulsar's event streaming capabilities creates a robust, scalable, and real-time identity proofing system.

Event-Driven Identity Proofing with Didit and Apache Pulsar

Contents

In this guide

Jump to the part you need.

Real-time ProcessingLeveraging event-driven architectures with Apache Pulsar enables immediate reaction to identity verification events, crucial for fraud prevention and seamless user onboarding.

Scalable and Resilient ArchitectureApache Pulsar provides a highly scalable and fault-tolerant backbone for handling high volumes of identity verification requests and results, ensuring system reliability.

Enhanced Fraud DetectionIntegrating Didit's advanced AI-native identity verification, including Passive & Active Liveness and 1:1 Face Match, into an event-driven flow allows for rapid fraud detection and response.

Modular and Flexible IntegrationDidit's modular architecture integrates seamlessly into event-driven systems, offering composable identity primitives via clean APIs, making it ideal for dynamic verification workflows.

The Power of Event-Driven Architectures for Identity Proofing

In today's fast-paced digital world, identity proofing is no longer a static, one-time process. It demands real-time responsiveness, scalability, and resilience to combat sophisticated fraud attempts and meet evolving regulatory requirements. Event-driven architectures (EDAs) provide the perfect framework for this challenge, allowing systems to react instantly to changes and events. By adopting an EDA, organizations can transform their identity verification pipelines from batch processing to a continuous, real-time flow.

Apache Pulsar, a distributed pub-sub messaging system, stands out as an ideal choice for building such an architecture. Its capabilities for high-throughput, low-latency messaging, tiered storage, and geo-replication make it perfectly suited for handling the diverse and often sensitive data streams involved in identity proofing. When a new user signs up, for instance, an 'onboarding_started' event can be published to a Pulsar topic. This event can then trigger a series of microservices responsible for different stages of identity verification, such as document scanning, liveness detection, and AML screening.

Integrating Didit's AI-Native Identity Verification with Apache Pulsar

The synergy between Didit's AI-native identity platform and Apache Pulsar is incredibly powerful. Didit provides a comprehensive suite of identity verification tools, including ID Verification (OCR, MRZ, barcodes), Passive & Active Liveness, 1:1 Face Match & Face Search, and AML Screening & Monitoring. These services can be integrated as discrete steps within an event-driven workflow orchestrated by Pulsar.

Consider a typical user onboarding flow: when a user submits their identity document, an event is published to Pulsar. A dedicated service consumes this event and initiates Didit's ID Verification. Upon completion, Didit sends a webhook notification with the verification results, which can then be published back to Pulsar as a 'document_verified' event. This subsequent event can trigger the next stage, such as a liveness check using Didit's Passive & Active Liveness, or an AML Screening for financial institutions.

This modular approach, facilitated by Didit's clean APIs and modular architecture, allows businesses to build highly customized and flexible verification pipelines. Each step is an independent service, reacting to events and producing new ones, leading to a resilient and easily maintainable system. Didit's AI-native capabilities ensure high accuracy and speed at each stage, while Pulsar ensures the events flow smoothly and reliably.

Building Resilient and Scalable Identity Workflows

Scalability is paramount for identity proofing, especially for global businesses experiencing rapid growth. Apache Pulsar's ability to handle millions of messages per second and its automatic load balancing across brokers make it an excellent choice for high-volume identity verification scenarios. As the number of verification requests grows, you can simply scale out your Pulsar clusters and the microservices consuming its topics.

Moreover, Pulsar's persistent storage and message retention policies ensure that no event is lost, even if downstream services are temporarily unavailable. This resilience is critical for compliance and audit trails in identity verification. If an AML Screening service, for example, goes down, the 'document_verified' events will remain in the Pulsar topic until the service recovers and can process them, ensuring data integrity and preventing bottlenecks.

Didit's developer-first approach, with instant sandboxes and comprehensive documentation, complements this perfectly. Developers can quickly integrate Didit's various identity primitives into their event-driven services, leveraging webhooks to publish results back to Pulsar, thus closing the loop in the event flow. This creates an automated, end-to-end identity proofing process that minimizes manual intervention and accelerates user onboarding.

Practical Benefits and Use Cases

Adopting an event-driven identity proofing system with Didit and Apache Pulsar offers numerous practical benefits:

  • Real-time Fraud Prevention: Instant processing of identity verification results allows for immediate flagging and blocking of suspicious activities, significantly enhancing fraud detection capabilities. Didit's Passive & Active Liveness detection, for instance, can quickly identify deepfake attempts or presentation attacks.
  • Improved User Experience: Faster verification times lead to quicker onboarding and reduced friction for legitimate users. The asynchronous nature of EDAs means users don't have to wait for each step to complete sequentially.
  • Enhanced Compliance: The auditable trail of events in Pulsar, combined with detailed verification reports from Didit (including AML Screening & Monitoring), simplifies compliance with regulations like KYC and AML.
  • Flexible Workflow Orchestration: Businesses can easily adapt their verification workflows to different risk profiles or regulatory environments by simply modifying how services consume and react to events. For example, high-risk transactions might trigger additional checks like Proof of Address or NFC Verification.
  • Cost Efficiency: By automating trust and orchestrating risk, businesses can reduce the need for manual review processes, leading to significant operational cost savings.

How Didit Helps

Didit is uniquely positioned to empower event-driven identity proofing solutions. Our AI-native platform offers a comprehensive suite of identity verification primitives that are designed for seamless integration into modern, distributed architectures. With Didit, you can leverage ID Verification for global document checks, Passive & Active Liveness to combat spoofing, and AML Screening & Monitoring for robust compliance. Our modular architecture means you can pick and choose the exact checks you need, composing them into sophisticated workflows that react to events published via Apache Pulsar.

Didit's commitment to being developer-first, with clean APIs and a no-code Business Console for workflow orchestration, simplifies the integration process. You can instantly set up webhooks to push verification results back into your Pulsar topics, ensuring your event streams are always up-to-date. Furthermore, Didit offers Core KYC with pay-per-use pricing, so you can start building and testing your event-driven identity solutions without upfront costs. Our pay-per-successful-check model and lack of setup fees ensure that you only pay for what you use, making advanced identity proofing accessible and scalable for businesses of all sizes.

Ready to Get Started?

Ready to see Didit in action? Get a free demo today.

Start verifying identities for free with Didit's free tier.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Blog questions

Who writes the Didit blog?
The Didit team. Guides reviewed by Alberto Rosas, co-founder and CEO, carry his byline. The rest are published as Didit.
Which topics does the blog cover?
Eight topics: ID verification, business verification (KYB), AML, sanctions and compliance, fraud prevention, transaction monitoring and crypto, country guides, agents and developers, and product updates.
Is the blog available in my language?
Yes, in 15 languages: English, Spanish, French, German, Brazilian and European Portuguese, Catalan, Russian, Arabic, Chinese, Japanese, Hindi, Indonesian, Korean and Swahili. Not every post is translated, so each language shows the posts it has.
Where do I find product updates?
In the changelog at /changelog/ and under the Product updates topic.
Are these posts legal advice?
No. Regulation posts explain rules; your legal team decides how they apply.
How do I find posts on one topic?
Open one of the eight topics, or search the blog.
Are posts dated?
Yes. Every post shows when it was published and when it was last updated.
Do posts link to the docs?
Developer posts link to the matching page on docs.didit.me and to the API reference.
Is the blog the same as the docs?
No. The blog explains rules, markets and product changes for a general reader, while docs.didit.me holds the integration guides and the API reference. Developer posts link the matching docs page and the API reference they describe.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.