Principle:Apache Kafka JIRA Reference Standardization
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Development_Workflow, Code_Quality |
| Last Updated | 2026-02-09 12:00 GMT |
Overview
A text normalization process that extracts and standardizes JIRA issue references in commit messages to a consistent format.
Description
JIRA Reference Standardization parses PR titles and commit messages to extract JIRA issue identifiers (e.g., KAFKA-12345) and reformats them into the project's standard commit message format: KAFKA-XXXXX; Description. It handles various input formats including inconsistent casing, missing semicolons, and component prefixes.
Usage
Use this principle when creating merge commits to ensure consistent commit message formatting across the project history.
Theoretical Basis
- Pattern Matching: Use regex to extract JIRA IDs matching the pattern KAFKA-\d+.
- Component Extraction: Identify and normalize component prefixes from the title.
- Format Standardization: Reconstruct the title in the standard format KAFKA-XXXXX; Description.
- Deduplication: Remove duplicate JIRA references that may appear in different parts of the title.
Related Pages
Implemented By
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment