Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent Logging #1051

Open
jmks opened this issue Feb 4, 2025 · 1 comment
Open

Inconsistent Logging #1051

jmks opened this issue Feb 4, 2025 · 1 comment

Comments

@jmks
Copy link

jmks commented Feb 4, 2025

To get better logs, we've enabled on enable.mdc.logging. When our 8 tasks re-start, it appears that 5 are using the new logging, but 3 are not. I've tried re-creating the connector, but it continues to happen.

Has anyone seen this before?

[2025-02-04 21:17:24,581] INFO [SF_KAFKA_CONNECTOR] [pm-prod-snowflake|task-5] task opened with 267 partitions, execution time: 156461 milliseconds (com.snowflake.kafka.connector.SnowflakeSinkTask)
[2025-02-04 21:17:24,751] INFO [SF_KAFKA_CONNECTOR] task opened with 267 partitions, execution time: 156804 milliseconds (com.snowflake.kafka.connector.SnowflakeSinkTask)
[2025-02-04 21:17:24,774] INFO [SF_KAFKA_CONNECTOR] task opened with 267 partitions, execution time: 156728 milliseconds (com.snowflake.kafka.connector.SnowflakeSinkTask)
[2025-02-04 21:17:24,820] INFO [SF_KAFKA_CONNECTOR] [pm-prod-snowflake|task-1] task opened with 267 partitions, execution time: 156708 milliseconds (com.snowflake.kafka.connector.SnowflakeSinkTask)
[2025-02-04 21:17:24,975] INFO [SF_KAFKA_CONNECTOR] task opened with 267 partitions, execution time: 156906 milliseconds (com.snowflake.kafka.connector.SnowflakeSinkTask)
[2025-02-04 21:17:25,802] INFO [SF_KAFKA_CONNECTOR] [pm-prod-snowflake|task-0] task opened with 267 partitions, execution time: 157679 milliseconds (com.snowflake.kafka.connector.SnowflakeSinkTask)
[2025-02-04 21:17:26,110] INFO [SF_KAFKA_CONNECTOR] [pm-prod-snowflake|task-3] task opened with 267 partitions, execution time: 158004 milliseconds (com.snowflake.kafka.connector.SnowflakeSinkTask)
[2025-02-04 21:17:29,203] INFO [SF_KAFKA_CONNECTOR] [pm-prod-snowflake|task-7] task opened with 267 partitions, execution time: 161092 milliseconds (com.snowflake.kafka.connector.SnowflakeSinkTask)
@sfc-gh-mbobowski
Copy link
Contributor

Hello!
I am not familiar with enable.mdc.logging but I would start debugging this problem by checking which task is assigned to which worker. Perhaps it will detect a single worker node that is not working properly.

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

No branches or pull requests

2 participants