[
https://issues.apache.org/jira/browse/SPARK-54039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun updated SPARK-54039:
----------------------------------
Summary: Add TaskContext information to KafkaDataConsumer release() logs
for better debugging (was: `Add TaskContext information to KafkaDataConsumer
release() logs for better debugging`)
> Add TaskContext information to KafkaDataConsumer release() logs for better
> debugging
> ------------------------------------------------------------------------------------
>
> Key: SPARK-54039
> URL: https://issues.apache.org/jira/browse/SPARK-54039
> Project: Spark
> Issue Type: Improvement
> Components: Structured Streaming
> Affects Versions: 3.4.1, 3.5.0, 3.5.2, 4.0.0
> Reporter: Nishanth
> Assignee: Nishanth
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.0
>
>
> Currently, log messages in the {{release()}} method of {{KafkaDataConsumer}}
> do not include Spark task context information (e.g., TaskID).
> This change adds task context details to the {{release()}} logs to improve
> traceability and debugging of Kafka consumer lifecycle events.
> We previously added similar context in
> {{{}KafkaBatchReaderFactory.createReader{}}}, which has proven useful for
> debugging. Including this information in {{release()}} helps correlate
> consumer release metrics with the specific Spark tasks that borrowed the
> consumer.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]