You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2025/03/28 22:10:00 UTC
[jira] [Commented] (KAFKA-16600) Periodically receive "Failed to transition to PENDING_SHUTDOWN, current state is PENDING_SHUTDOWN" during streams close
[ https://issues.apache.org/jira/browse/KAFKA-16600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17939338#comment-17939338 ]
Matthias J. Sax commented on KAFKA-16600:
-----------------------------------------
I am wondering if [https://github.com/apache/kafka/pull/18765] might have fixed this one?
> Periodically receive "Failed to transition to PENDING_SHUTDOWN, current state is PENDING_SHUTDOWN" during streams close
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-16600
> URL: https://issues.apache.org/jira/browse/KAFKA-16600
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Affects Versions: 3.3.2
> Reporter: Alex Leung
> Priority: Minor
> Attachments: kafka-16600.log
>
>
> From time to time, we observe the following ERROR message during streams close:
> {code:java}
> 2024-04-13 07:40:16,222 INFO o.a.k.s.KafkaStreams [32] stream-client [testapp-83aa0e09-a6ef-45e4-9393-69dfba4928bf] State transition from RUNNING to PENDING_SHUTDOWN
> 2024-04-13 07:40:16,222 ERROR o.a.k.s.KafkaStreams [55] stream-client [testapp-83aa0e09-a6ef-45e4-9393-69dfba4928bf] Failed to transition to PENDING_SHUTDOWN, current state is PENDING_SHUTDOWN
> {code}
> These ERRORs started showing up when we moved from 2.7.2 to 3.3.2 and we have not changed any code related to streams shutdown.
> When the problem does not occur (most of the time), it looks like the following:
> {code:java}
> 2024-04-13 07:40:11,333 INFO o.a.k.s.KafkaStreams [55] stream-client [testapp-e2212b31-e9c2-4c75-92f6-1e557e27bf66] State transition from RUNNING to PENDING_SHUTDOWN
> 2024-04-13 07:40:11,341 INFO o.a.k.s.KafkaStreams [32] stream-client [testapp-e2212b31-e9c2-4c75-92f6-1e557e27bf66] Streams client is in PENDING_SHUTDOWN, all resources are being closed and the client will be stopped. {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)