You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "gaurav-narula (via GitHub)" <gi...@apache.org> on 2026/04/28 11:32:25 UTC
[PR] MINOR: system-tests: fix KafkaServer#leader [kafka]
gaurav-narula opened a new pull request, #22168:
URL: https://github.com/apache/kafka/pull/22168
PR #7136 standardised the output format for TopicCommand to print `none` when the leader for a TP is unknown. `KafkaServer#leader` in system-tests however fails to account for this change and possibly panics trying to type cast `none` to an integer.
This change fixes the regression so that we parse the value correctly and return None if the leader is undefined.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: system-tests: fix KafkaServer#leader [kafka]
Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 merged PR #22168:
URL: https://github.com/apache/kafka/pull/22168
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org