You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kafka_actions: fall back to string when schema registry magic byte is absent (DataDog#23951)
* kafka_actions: fall back to string when schema registry magic byte is absent
When uses_schema_registry=True but the first byte of a message is not 0x00,
the deserializer now decodes the message as a plain UTF-8 string instead of
raising an error. This handles producers that mix framed and unframed messages
on the same topic.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* kafka_actions: add changelog entry for PR DataDog#23951
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* kafka_actions: simplify SR fallback — debug log, no raise, cleaner condition
- Replace warning with debug log
- Single condition: len >= 5 && magic byte == 0x00 → SR path, else → string fallback
- No ValueError raised for any non-SR message
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* kafka_actions: remove msg_hex from debug log
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* kafka_actions: fix lint errors (E501, I001)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* kafka_actions: fix remaining I001 import sort errors using root pyproject.toml
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments