You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "dajac (via GitHub) via jira" <ji...@kafka.apache.org> on 2026/10/30 20:22:19 UTC
[PR] MINOR: Remove test-only methods from ProcessState [kafka]
dajac opened a new pull request, #24042:
URL: https://github.com/apache/kafka/pull/24042
`ProcessState` has several methods that only `ProcessStateTest`
calls, and `computeLoad` is public although only the class itself
calls it.
This patch removes `capacity`, `hasCapacity`, `compareTo`,
`assignedActiveTasks`, `assignedStandbyTasks` and `assignedTasks`,
makes `computeLoad` private, and adapts `ProcessStateTest` to assert
through `load`, `assignedActiveTasksByMember`,
`assignedStandbyTasksByMember` and `hasTask`.
--
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: Remove test-only methods from ProcessState [kafka]
Posted by "dajac (via GitHub) via jira" <ji...@kafka.apache.org>.
dajac merged PR #24042:
URL: https://github.com/apache/kafka/pull/24042
--
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: Remove test-only methods from ProcessState [kafka]
Posted by "dajac (via GitHub) via jira" <ji...@kafka.apache.org>.
dajac commented on PR #24042:
URL: https://github.com/apache/kafka/pull/24042#issuecomment-6532930588
@lucasbru There are a bunch of unused methods in `ProcessState`. Do we need them for future usages or can we remove them?
--
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