[ 
https://issues.apache.org/jira/browse/KAFKA-16600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17839850#comment-17839850
 ] 

A. Sophie Blee-Goldman commented on KAFKA-16600:
------------------------------------------------

Thanks [~aleung181] – definitely sounds like a bug. Hard to diagnose without 
more context though – can you share a bit more of the logs? A minute or so 
leading up to the error message should hopefully be enough 

> 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
>
> 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)

Reply via email to