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

Jun Rao commented on KAFKA-13206:
---------------------------------

[~cmccabe] mentioned the following. The broker being shut down in kraft 
controlled shutdown usually does continue trying to fetch, but that's because 
we shut down its metadata listener (that might be something we should not do, 
to optimize more...).

 

So, as long as it doesn't degrade rolling performance noticeably, this might 
not be an issue.

> shutting down broker needs to stop fetching as a follower in KRaft mode
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-13206
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13206
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.0.0
>            Reporter: Jun Rao
>            Priority: Major
>              Labels: kip-500
>
> In the ZK mode, the controller will send a stopReplica(with deletion flag as 
> false) request to the shutting down broker so that it will stop the followers 
> from fetching. In KRaft mode, we don't have a corresponding logic. This means 
> unnecessary rejected fetch follower requests during controlled shutdown.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to