Commands icon
If icon
SlackIncomingWebhook icon
Schedule icon

Redpanda Schema Registry Compatibility Drift Sentinel

Audits Redpanda Schema Registry subjects to detect disabled compatibility enforcement and breaking schema changes.

Categories
DataInfrastructure

How it works

This workflow connects to the Redpanda Schema Registry HTTP API (/subjects/{subject}/versions and /config/{subject}) to audit active schema versions and compatibility levels. In event-driven streaming architectures, schema registries enforce backward, forward, or full compatibility on Avro, JSON Schema, and Protobuf payloads. If developers or automated CI/CD scripts accidentally downgrade subject compatibility to NONE, breaking schema changes can be published, causing downstream streaming consumer microservices to crash during deserialization. This sentinel audits compatibility modes and alerts streaming teams.

What you get

  • Real-time tracking of Redpanda schema governance and compatibility modes.
  • Protection against breaking Avro and Protobuf schema evolutions.
  • Automated Slack incident notifications detailing subject versions and compatibility levels.

Who it's for

  • Event-Driven Architecture Specialists and Streaming Platform Engineers.
  • SREs maintaining mission-critical Kafka and Redpanda event backbones.
  • Data Governance Leads enforcing strict serialization compatibility.

Why orchestrate this with Kestra

  • Automated Governance Surveillance: Regularly audits schema registries without custom daemon scripts.
  • Native API Capabilities: Interacts directly with Confluent-compatible REST endpoints.
  • Incident Orchestration: Notifies platform engineers directly in team collaboration channels.

Prerequisites

  • Redpanda cluster with enabled Schema Registry API (8081).
  • Slack incoming webhook URL configured in SLACK_WEBHOOK secret.

Quick start

  1. Import this blueprint into your Kestra workspace.
  2. Add SLACK_WEBHOOK secret to your namespace.
  3. Specify schema_registry_url and target subject_name.
  4. Enable the schedule trigger for continuous schema surveillance.

How to extend

  • Automatically restore BACKWARD compatibility mode via PUT /config/{subject}.
  • Audit all registered schema subjects in a single workflow execution.
  • Route critical alerts to PagerDuty or Opsgenie.

Links

See How

New to Kestra?

Use blueprints to kickstart your first workflows.