Class/Object

kafka.coordinator

OffsetConfig

Related Docs: object OffsetConfig | package coordinator

Permalink

case class OffsetConfig(maxMetadataSize: Int = OffsetConfig.DefaultMaxMetadataSize, loadBufferSize: Int = OffsetConfig.DefaultLoadBufferSize, offsetsRetentionMs: Long = ..., offsetsRetentionCheckIntervalMs: Long = ..., offsetsTopicNumPartitions: Int = ..., offsetsTopicSegmentBytes: Int = ..., offsetsTopicReplicationFactor: Short = ..., offsetsTopicCompressionCodec: CompressionCodec = ..., offsetCommitTimeoutMs: Int = ..., offsetCommitRequiredAcks: Short = ...) extends Product with Serializable

Configuration settings for in-built offset management

maxMetadataSize

The maximum allowed metadata for any offset commit.

loadBufferSize

Batch size for reading from the offsets segments when loading offsets into the cache.

offsetsRetentionMs

Offsets older than this retention period will be discarded.

offsetsRetentionCheckIntervalMs

Frequency at which to check for expired offsets.

offsetsTopicNumPartitions

The number of partitions for the offset commit topic (should not change after deployment).

offsetsTopicSegmentBytes

The offsets topic segment bytes should be kept relatively small to facilitate faster log compaction and faster offset loads

offsetsTopicReplicationFactor

The replication factor for the offset commit topic (set higher to ensure availability).

offsetsTopicCompressionCodec

Compression codec for the offsets topic - compression should be turned on in order to achieve "atomic" commits.

offsetCommitTimeoutMs

The offset commit will be delayed until all replicas for the offsets topic receive the commit or this timeout is reached. (Similar to the producer request timeout.)

offsetCommitRequiredAcks

The required acks before the commit can be accepted. In general, the default (-1) should not be overridden.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OffsetConfig
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OffsetConfig(maxMetadataSize: Int = OffsetConfig.DefaultMaxMetadataSize, loadBufferSize: Int = OffsetConfig.DefaultLoadBufferSize, offsetsRetentionMs: Long = ..., offsetsRetentionCheckIntervalMs: Long = ..., offsetsTopicNumPartitions: Int = ..., offsetsTopicSegmentBytes: Int = ..., offsetsTopicReplicationFactor: Short = ..., offsetsTopicCompressionCodec: CompressionCodec = ..., offsetCommitTimeoutMs: Int = ..., offsetCommitRequiredAcks: Short = ...)

    Permalink

    maxMetadataSize

    The maximum allowed metadata for any offset commit.

    loadBufferSize

    Batch size for reading from the offsets segments when loading offsets into the cache.

    offsetsRetentionMs

    Offsets older than this retention period will be discarded.

    offsetsRetentionCheckIntervalMs

    Frequency at which to check for expired offsets.

    offsetsTopicNumPartitions

    The number of partitions for the offset commit topic (should not change after deployment).

    offsetsTopicSegmentBytes

    The offsets topic segment bytes should be kept relatively small to facilitate faster log compaction and faster offset loads

    offsetsTopicReplicationFactor

    The replication factor for the offset commit topic (set higher to ensure availability).

    offsetsTopicCompressionCodec

    Compression codec for the offsets topic - compression should be turned on in order to achieve "atomic" commits.

    offsetCommitTimeoutMs

    The offset commit will be delayed until all replicas for the offsets topic receive the commit or this timeout is reached. (Similar to the producer request timeout.)

    offsetCommitRequiredAcks

    The required acks before the commit can be accepted. In general, the default (-1) should not be overridden.

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  10. val loadBufferSize: Int

    Permalink

    Batch size for reading from the offsets segments when loading offsets into the cache.

  11. val maxMetadataSize: Int

    Permalink

    The maximum allowed metadata for any offset commit.

  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. val offsetCommitRequiredAcks: Short

    Permalink

    The required acks before the commit can be accepted.

    The required acks before the commit can be accepted. In general, the default (-1) should not be overridden.

  16. val offsetCommitTimeoutMs: Int

    Permalink

    The offset commit will be delayed until all replicas for the offsets topic receive the commit or this timeout is reached.

    The offset commit will be delayed until all replicas for the offsets topic receive the commit or this timeout is reached. (Similar to the producer request timeout.)

  17. val offsetsRetentionCheckIntervalMs: Long

    Permalink

    Frequency at which to check for expired offsets.

  18. val offsetsRetentionMs: Long

    Permalink

    Offsets older than this retention period will be discarded.

  19. val offsetsTopicCompressionCodec: CompressionCodec

    Permalink

    Compression codec for the offsets topic - compression should be turned on in order to achieve "atomic" commits.

  20. val offsetsTopicNumPartitions: Int

    Permalink

    The number of partitions for the offset commit topic (should not change after deployment).

  21. val offsetsTopicReplicationFactor: Short

    Permalink

    The replication factor for the offset commit topic (set higher to ensure availability).

  22. val offsetsTopicSegmentBytes: Int

    Permalink

    The offsets topic segment bytes should be kept relatively small to facilitate faster log compaction and faster offset loads

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped