class GroupMetadata extends Logging
Group contains the following metadata:
Membership metadata:
- Members registered in this group 2. Current protocol assigned to the group (e.g. partition assignment strategy for consumers) 3. Protocol metadata associated with group members
State metadata:
- group state 2. generation id 3. leader id
- Annotations
- @nonthreadsafe()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GroupMetadata
- Logging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new GroupMetadata(groupId: String, initialState: GroupState, time: Time)
Type Members
- type JoinCallback = (JoinGroupResult) ⇒ Unit
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def activeProducers: Set[Long]
- def add(member: MemberMetadata, callback: JoinCallback = null): Unit
- def allMemberMetadata: List[MemberMetadata]
- def allMembers: Set[String]
- def allOffsets: Map[TopicPartition, OffsetAndMetadata]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def completePendingTxnOffsetCommit(producerId: Long, isCommit: Boolean): Unit
- def currentState: GroupState
- var currentStateTimestamp: Option[Long]
- def currentStateTimestampOrDefault: Long
-
def
debug(msg: ⇒ String, e: ⇒ Throwable): Unit
- Definition Classes
- Logging
-
def
debug(msg: ⇒ String): Unit
- Definition Classes
- Logging
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(msg: ⇒ String, e: ⇒ Throwable): Unit
- Definition Classes
- Logging
-
def
error(msg: ⇒ String): Unit
- Definition Classes
- Logging
- def failPendingTxnOffsetCommit(producerId: Long, topicPartition: TopicPartition): Unit
-
def
fatal(msg: ⇒ String, e: ⇒ Throwable): Unit
- Definition Classes
- Logging
-
def
fatal(msg: ⇒ String): Unit
- Definition Classes
- Logging
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- var generationId: Int
- def get(memberId: String): MemberMetadata
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val groupId: String
- def has(memberId: String): Boolean
- def hasOffsets: Boolean
- def hasPendingOffsetCommitsFromProducer(producerId: Long): Boolean
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def inLock[T](fun: ⇒ T): T
-
def
info(msg: ⇒ String, e: ⇒ Throwable): Unit
- Definition Classes
- Logging
-
def
info(msg: ⇒ String): Unit
- Definition Classes
- Logging
- def is(groupState: GroupState): Boolean
-
def
isDebugEnabled: Boolean
- Definition Classes
- Logging
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isLeader(memberId: String): Boolean
-
def
isTraceEnabled: Boolean
- Definition Classes
- Logging
- def leaderOrNull: String
-
val
logIdent: String
- Attributes
- protected
- Definition Classes
- Logging
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
loggerName: String
- Attributes
- protected
- Definition Classes
- Logging
-
def
msgWithLogIdent(msg: String): String
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- var newMemberAdded: Boolean
- def not(groupState: GroupState): Boolean
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def numOffsets: Int
- def offset(topicPartition: TopicPartition): Option[OffsetAndMetadata]
- def onTxnOffsetCommitAppend(producerId: Long, topicPartition: TopicPartition, commitRecordMetadataAndOffset: CommitRecordMetadataAndOffset): Unit
- def protocolOrNull: String
- var protocolType: Option[String]
- def removeAllOffsets(): Map[TopicPartition, OffsetAndMetadata]
- def removeExpiredOffsets(currentTimestamp: Long, offsetRetentionMs: Long): Map[TopicPartition, OffsetAndMetadata]
- def removeOffsets(topicPartitions: Seq[TopicPartition]): Map[TopicPartition, OffsetAndMetadata]
- def size: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- GroupMetadata → AnyRef → Any
-
def
trace(msg: ⇒ String, e: ⇒ Throwable): Unit
- Definition Classes
- Logging
-
def
trace(msg: ⇒ String): Unit
- Definition Classes
- Logging
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
warn(msg: ⇒ String, e: ⇒ Throwable): Unit
- Definition Classes
- Logging
-
def
warn(msg: ⇒ String): Unit
- Definition Classes
- Logging