Skip to content

Adjust protocol debug logging; add KAFKA_PYTHON_PROTOCOL_DEBUG_LOG for testing#2719

Merged
dpkp merged 3 commits intomasterfrom
dpkp/protocol-debug
Mar 8, 2026
Merged

Adjust protocol debug logging; add KAFKA_PYTHON_PROTOCOL_DEBUG_LOG for testing#2719
dpkp merged 3 commits intomasterfrom
dpkp/protocol-debug

Conversation

@dpkp
Copy link
Owner

@dpkp dpkp commented Mar 8, 2026

Simplifies debug logging from kafka.protocol.parser and adds node_id to ident string to help disambiguate connections to the same host/port (e.g., regular, bootstrap, coordinator).

Set KAFKA_PYTHON_PROTOCOL_DEBUG_LOG environment var to a local file and test harness will redirect kafka.protocol.parser debug messages.

@dpkp dpkp merged commit 6fe54b9 into master Mar 8, 2026
19 checks passed
@dpkp dpkp deleted the dpkp/protocol-debug branch March 8, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant