kafka.coordinator

GroupMetadataManager

class GroupMetadataManager extends Logging with KafkaMetricsGroup

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GroupMetadataManager
  2. KafkaMetricsGroup
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GroupMetadataManager(brokerId: Int, config: OffsetConfig, replicaManager: ReplicaManager, zkUtils: ZkUtils)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addGroup(group: GroupMetadata): GroupMetadata

    Add a group or get the group associated with the given groupId if it already exists

  7. def addPartitionOwnership(partition: Int): Unit

    Add the partition into the owned list

    Add the partition into the owned list

    NOTE: this is for test only

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. val brokerId: Int

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val config: OffsetConfig

  12. def currentGroups(): Iterable[GroupMetadata]

  13. def debug(msg: ⇒ String, e: ⇒ Throwable): Unit

    Definition Classes
    Logging
  14. def debug(e: ⇒ Throwable): Any

    Definition Classes
    Logging
  15. def debug(msg: ⇒ String): Unit

    Definition Classes
    Logging
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def error(msg: ⇒ String, e: ⇒ Throwable): Unit

    Definition Classes
    Logging
  19. def error(e: ⇒ Throwable): Any

    Definition Classes
    Logging
  20. def error(msg: ⇒ String): Unit

    Definition Classes
    Logging
  21. def fatal(msg: ⇒ String, e: ⇒ Throwable): Unit

    Definition Classes
    Logging
  22. def fatal(e: ⇒ Throwable): Any

    Definition Classes
    Logging
  23. def fatal(msg: ⇒ String): Unit

    Definition Classes
    Logging
  24. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  26. def getGroup(groupId: String): GroupMetadata

    Get the group associated with the given groupId, or null if not found

  27. def getOffsets(group: String, topicPartitions: Seq[TopicAndPartition]): Map[TopicAndPartition, OffsetMetadataAndError]

    The most important guarantee that this API provides is that it should never return a stale offset.

    The most important guarantee that this API provides is that it should never return a stale offset. i.e., it either returns the current offset or it begins to sync the cache from the log (and returns an error code).

  28. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  29. def info(msg: ⇒ String, e: ⇒ Throwable): Unit

    Definition Classes
    Logging
  30. def info(e: ⇒ Throwable): Any

    Definition Classes
    Logging
  31. def info(msg: ⇒ String): Unit

    Definition Classes
    Logging
  32. def isGroupLoading(groupId: String): Boolean

  33. def isGroupLocal(groupId: String): Boolean

  34. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  35. def isLoading(): Boolean

  36. def loadGroupsForPartition(offsetsPartition: Int, onGroupLoaded: (GroupMetadata) ⇒ Unit): Unit

    Asynchronously read the partition from the offsets topic and populate the cache

  37. var logIdent: String

    Attributes
    protected
    Definition Classes
    Logging
  38. lazy val logger: Logger

    Definition Classes
    Logging
  39. val loggerName: String

    Definition Classes
    Logging
  40. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  41. def newGauge[T](name: String, metric: Gauge[T], tags: Map[String, String] = Map.empty): Gauge[T]

    Definition Classes
    KafkaMetricsGroup
  42. def newHistogram(name: String, biased: Boolean = true, tags: Map[String, String] = Map.empty): Histogram

    Definition Classes
    KafkaMetricsGroup
  43. def newMeter(name: String, eventType: String, timeUnit: TimeUnit, tags: Map[String, String] = Map.empty): Meter

    Definition Classes
    KafkaMetricsGroup
  44. def newTimer(name: String, durationUnit: TimeUnit, rateUnit: TimeUnit, tags: Map[String, String] = Map.empty): Timer

    Definition Classes
    KafkaMetricsGroup
  45. final def notify(): Unit

    Definition Classes
    AnyRef
  46. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  47. def partitionFor(groupId: String): Int

  48. def prepareStoreGroup(group: GroupMetadata, groupAssignment: Map[String, Array[Byte]], responseCallback: (Short) ⇒ Unit): DelayedStore

  49. def prepareStoreOffsets(groupId: String, consumerId: String, generationId: Int, offsetMetadata: Map[TopicAndPartition, OffsetAndMetadata], responseCallback: (Map[TopicAndPartition, Short]) ⇒ Unit): DelayedStore

    Store offsets by appending it to the replicated log and then inserting to cache

  50. def removeGroup(group: GroupMetadata): Unit

    Remove all metadata associated with the group

    Remove all metadata associated with the group

    group

  51. def removeGroupsForPartition(offsetsPartition: Int, onGroupUnloaded: (GroupMetadata) ⇒ Unit): Unit

    When this broker becomes a follower for an offsets topic partition clear out the cache for groups that belong to that partition.

    When this broker becomes a follower for an offsets topic partition clear out the cache for groups that belong to that partition.

    offsetsPartition

    Groups belonging to this partition of the offsets topic will be deleted from the cache.

  52. def removeMetric(name: String, tags: Map[String, String] = Map.empty): Unit

    Definition Classes
    KafkaMetricsGroup
  53. def shutdown(): Unit

  54. def store(delayedAppend: DelayedStore): Unit

  55. def swallow(action: ⇒ Unit): Unit

    Definition Classes
    Logging
  56. def swallowDebug(action: ⇒ Unit): Unit

    Definition Classes
    Logging
  57. def swallowError(action: ⇒ Unit): Unit

    Definition Classes
    Logging
  58. def swallowInfo(action: ⇒ Unit): Unit

    Definition Classes
    Logging
  59. def swallowTrace(action: ⇒ Unit): Unit

    Definition Classes
    Logging
  60. def swallowWarn(action: ⇒ Unit): Unit

    Definition Classes
    Logging
  61. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  62. def toString(): String

    Definition Classes
    AnyRef → Any
  63. def trace(msg: ⇒ String, e: ⇒ Throwable): Unit

    Definition Classes
    Logging
  64. def trace(e: ⇒ Throwable): Any

    Definition Classes
    Logging
  65. def trace(msg: ⇒ String): Unit

    Definition Classes
    Logging
  66. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. def warn(msg: ⇒ String, e: ⇒ Throwable): Unit

    Definition Classes
    Logging
  70. def warn(e: ⇒ Throwable): Any

    Definition Classes
    Logging
  71. def warn(msg: ⇒ String): Unit

    Definition Classes
    Logging

Inherited from KafkaMetricsGroup

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped