mirror of https://github.com/apache/kafka.git
MINOR: Remove GroupMetadataManager#isGroupOpenForProducer unused method (#16731)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
ed179c8ba7
commit
ad605b7bae
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue