MINOR: Remove GroupMetadataManager#isGroupOpenForProducer unused method (#16731)

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
Ken Huang 2024-08-02 00:08:53 +08:00 committed by GitHub
parent ed179c8ba7
commit ad605b7bae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 8 deletions

View File

@ -209,14 +209,6 @@ class GroupMetadataManager(brokerId: Int,
}
}
// visible for testing
private[group] def isGroupOpenForProducer(producerId: Long, groupId: String) = openGroupsForProducer.get(producerId) match {
case Some(groups) =>
groups.contains(groupId)
case None =>
false
}
/**
* Get the group associated with the given groupId or null if not found
*/