class
GroupCoordinator extends Logging
Type Members
-
-
type
SyncCallback = (Array[Byte], Short) ⇒ Unit
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
val
brokerId: Int
-
def
clone(): AnyRef
-
def
debug(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
debug(e: ⇒ Throwable): Any
-
def
debug(msg: ⇒ String): Unit
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
error(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
error(e: ⇒ Throwable): Any
-
def
error(msg: ⇒ String): Unit
-
def
fatal(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
fatal(e: ⇒ Throwable): Any
-
def
fatal(msg: ⇒ String): Unit
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
-
-
def
handleCommitOffsets(groupId: String, memberId: String, generationId: Int, offsetMetadata: Map[TopicAndPartition, OffsetAndMetadata], responseCallback: (Map[TopicAndPartition, Short]) ⇒ Unit): Unit
-
def
handleDescribeGroup(groupId: String): (Errors, GroupSummary)
-
-
def
handleGroupEmigration(offsetTopicPartitionId: Int): Unit
-
def
handleGroupImmigration(offsetTopicPartitionId: Int): Unit
-
def
handleHeartbeat(groupId: String, memberId: String, generationId: Int, responseCallback: (Short) ⇒ Unit): Unit
-
def
handleJoinGroup(groupId: String, memberId: String, clientId: String, clientHost: String, sessionTimeoutMs: Int, protocolType: String, protocols: List[(String, Array[Byte])], responseCallback: JoinCallback): Unit
-
def
handleLeaveGroup(groupId: String, consumerId: String, responseCallback: (Short) ⇒ Unit): Unit
-
def
handleListGroups(): (Errors, List[GroupOverview])
-
def
handleSyncGroup(groupId: String, generation: Int, memberId: String, groupAssignment: Map[String, Array[Byte]], responseCallback: SyncCallback): Unit
-
def
hashCode(): Int
-
def
info(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
info(e: ⇒ Throwable): Any
-
def
info(msg: ⇒ String): Unit
-
final
def
isInstanceOf[T0]: Boolean
-
var
logIdent: String
-
lazy val
logger: Logger
-
val
loggerName: String
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
def
offsetsTopicConfigs: Properties
-
def
onCompleteHeartbeat(): Unit
-
def
onCompleteJoin(group: GroupMetadata): Unit
-
def
onExpireHeartbeat(group: GroupMetadata, member: MemberMetadata, heartbeatDeadline: Long): Unit
-
def
onExpireJoin(): Unit
-
def
partitionFor(group: String): Int
-
def
shutdown(): Unit
-
def
startup(): Unit
-
def
swallow(action: ⇒ Unit): Unit
-
def
swallowDebug(action: ⇒ Unit): Unit
-
def
swallowError(action: ⇒ Unit): Unit
-
def
swallowInfo(action: ⇒ Unit): Unit
-
def
swallowTrace(action: ⇒ Unit): Unit
-
def
swallowWarn(action: ⇒ Unit): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
trace(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
trace(e: ⇒ Throwable): Any
-
def
trace(msg: ⇒ String): Unit
-
def
tryCompleteHeartbeat(group: GroupMetadata, member: MemberMetadata, heartbeatDeadline: Long, forceComplete: () ⇒ Boolean): Boolean
-
def
tryCompleteJoin(group: GroupMetadata, forceComplete: () ⇒ Boolean): Boolean
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
warn(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
warn(e: ⇒ Throwable): Any
-
def
warn(msg: ⇒ String): Unit
Inherited from AnyRef
Inherited from Any
GroupCoordinator handles general group membership and offset management.
Each Kafka server instantiates a coordinator which is responsible for a set of groups. Groups are assigned to coordinators based on their group names.