sentry-kafka-schemas
Kafka topics and schemas for Sentry
Decision gist · record as of 2026-08-14
Yes, if you are developing or operating a Sentry instance or integration that produces or consumes Kafka messages. The package is actively maintained, has low install friction, and provides essential schema definitions and validation for Sentry's event pipeline. Verify the license status before use in proprietary contexts, and confirm Python version compatibility for your environment.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Active maintenance with a release on 2026-08-14.
- Low install friction: pure Python wheel with six runtime dependencies (python-rapidjson, PyYAML, typing-extensions, fastjsonschema, msgpack, sentry-protos).
- No minimum Python version specified in the fact sheet.
License · maintenance · safety
(unclear) — License treatment is unclear—no SPDX identifier or raw license text is provided. Verify the actual license before using in proprietary or GPL-sensitive contexts.
last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 11 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 135,680 downloads/mo, #11,422 on PyPI
Alternatives
Verify before relying
pip install sentry-kafka-schemas
from sentry_kafka_schemas import get_codec, ValidationError
from sentry_kafka_schemas.schema_types.ingest_metrics_v1 import IngestMetric
SCHEMA = get_codec("ingest-metrics")
try:
decoded = SCHEMA.decode(b'{"type": "c", ...}')
except ValidationError:
pass- Minimum Python version required (requires_python is unspecified in the fact sheet)
- Whether license is open-source or proprietary (license_treatment is 'unclear')
- Stability guarantees for schema versioning and backward compatibility across releases
What it is and what it does
sentry-kafka-schemas is a schema registry and codec library for Sentry's Kafka infrastructure. It defines the topics, JSON schemas, and message formats that Sentry services use to stream events and metrics through Kafka, along with validation and type-generation tooling. The package contains YAML topic definitions, jsonschema files for both JSON and msgpack message types, and example payloads stripped of customer data.
When installed, it provides a Python API to retrieve codecs for specific topics (e.g., `get_codec("ingest-metrics")`), validate incoming messages against their schemas, and access auto-generated TypedDict classes that correspond to each schema version. This allows Sentry services and integrations to encode, decode, and validate Kafka messages with type safety and schema compliance.
Use it for
- Validate incoming Kafka messages in a Sentry service consumer against the canonical schema before processing.
- Generate type-safe Python objects from Kafka payloads using auto-generated schema_types classes.
- Encode outgoing events or metrics to Kafka with schema validation to prevent malformed messages.
- Reference topic definitions and examples during development of new Sentry services that produce or consume Kafka topics.
- Synchronize schema definitions across Sentry, Snuba, and Relay services during schema evolution.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are developing or operating a Sentry instance or integration that produces or consumes Kafka messages.
The package is actively maintained, has low install friction, and provides essential schema definitions and validation for Sentry's event pipeline. Verify the license status before use in proprietary contexts, and confirm Python version compatibility for your environment.
Install
sentry-kafka-schemas on PyPI
Before you install
Active maintenance with a release on 2026-08-14. Low install friction: pure Python wheel with six runtime dependencies (python-rapidjson, PyYAML, typing-extensions, fastjsonschema, msgpack, sentry-protos). No minimum Python version specified in the fact sheet.
License in practice
License treatment is unclear—no SPDX identifier or raw license text is provided. Verify the actual license before using in proprietary or GPL-sensitive contexts.
Quickstart
pip install sentry-kafka-schemas
from sentry_kafka_schemas import get_codec, ValidationError
from sentry_kafka_schemas.schema_types.ingest_metrics_v1 import IngestMetric
SCHEMA = get_codec("ingest-metrics")
try:
decoded = SCHEMA.decode(b'{"type": "c", ...}')
except ValidationError:
pass
Verify before relying
- Minimum Python version required (requires_python is unspecified in the fact sheet)
- Whether license is open-source or proprietary (license_treatment is 'unclear')
- Stability guarantees for schema versioning and backward compatibility across releases
Package facts
| License | Not declared unclear |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagespython-rapidjsonPyYAMLtyping-extensionsfastjsonschemamsgpacksentry-protos |
| Maintenance | Actively maintained 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 135,680 / month, #11,422 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: sentry_kafka_schemas-3.0.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “sentry event schemas”
- sentry-kafka-schemasProvides Kafka topic definitions and JSON schema validators for…
- structlog-sentryBridges structlog and Sentry to automatically capture structured logs…
- sentry-cliA command-line tool for interacting with Sentry, enabling tasks like…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also sentry-protos · kafka-schema-registry · drf-jsonschema-serializer · confluent_avro · jsonschema-pydantic · jsonschema-typed-v2 · marshmallow-jsonschema · sphinx-jsonschema · azure-schemaregistry · schematics