kafka.log

LogConfig

case class LogConfig(segmentSize: Int = Defaults.SegmentSize, segmentMs: Long = Defaults.SegmentMs, segmentJitterMs: Long = Defaults.SegmentJitterMs, flushInterval: Long = Defaults.FlushInterval, flushMs: Long = Defaults.FlushMs, retentionSize: Long = Defaults.RetentionSize, retentionMs: Long = Defaults.RetentionMs, maxMessageSize: Int = Defaults.MaxMessageSize, maxIndexSize: Int = Defaults.MaxIndexSize, indexInterval: Int = Defaults.IndexInterval, fileDeleteDelayMs: Long = Defaults.FileDeleteDelayMs, deleteRetentionMs: Long = Defaults.DeleteRetentionMs, minCleanableRatio: Double = Defaults.MinCleanableDirtyRatio, compact: Boolean = Defaults.Compact, uncleanLeaderElectionEnable: Boolean = ..., minInSyncReplicas: Int = Defaults.MinInSyncReplicas) extends Product with Serializable

Configuration settings for a log

segmentSize

The soft maximum for the size of a segment file in the log

segmentMs

The soft maximum on the amount of time before a new log segment is rolled

segmentJitterMs

The maximum random jitter subtracted from segmentMs to avoid thundering herds of segment rolling

flushInterval

The number of messages that can be written to the log before a flush is forced

flushMs

The amount of time the log can have dirty data before a flush is forced

retentionSize

The approximate total number of bytes this log can use

retentionMs

The age approximate maximum age of the last segment that is retained

maxIndexSize

The maximum size of an index file

indexInterval

The approximate number of bytes between index entries

fileDeleteDelayMs

The time to wait before deleting a file from the filesystem

deleteRetentionMs

The time to retain delete markers in the log. Only applicable for logs that are being compacted.

minCleanableRatio

The ratio of bytes that are available for cleaning to the bytes already cleaned

compact

Should old segments in this log be deleted or deduplicated?

uncleanLeaderElectionEnable

Indicates whether unclean leader election is enabled; actually a controller-level property but included here for topic-specific configuration validation purposes

minInSyncReplicas

If number of insync replicas drops below this number, we stop accepting writes with -1 (or all) required acks

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LogConfig
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LogConfig(segmentSize: Int = Defaults.SegmentSize, segmentMs: Long = Defaults.SegmentMs, segmentJitterMs: Long = Defaults.SegmentJitterMs, flushInterval: Long = Defaults.FlushInterval, flushMs: Long = Defaults.FlushMs, retentionSize: Long = Defaults.RetentionSize, retentionMs: Long = Defaults.RetentionMs, maxMessageSize: Int = Defaults.MaxMessageSize, maxIndexSize: Int = Defaults.MaxIndexSize, indexInterval: Int = Defaults.IndexInterval, fileDeleteDelayMs: Long = Defaults.FileDeleteDelayMs, deleteRetentionMs: Long = Defaults.DeleteRetentionMs, minCleanableRatio: Double = Defaults.MinCleanableDirtyRatio, compact: Boolean = Defaults.Compact, uncleanLeaderElectionEnable: Boolean = ..., minInSyncReplicas: Int = Defaults.MinInSyncReplicas)

    segmentSize

    The soft maximum for the size of a segment file in the log

    segmentMs

    The soft maximum on the amount of time before a new log segment is rolled

    segmentJitterMs

    The maximum random jitter subtracted from segmentMs to avoid thundering herds of segment rolling

    flushInterval

    The number of messages that can be written to the log before a flush is forced

    flushMs

    The amount of time the log can have dirty data before a flush is forced

    retentionSize

    The approximate total number of bytes this log can use

    retentionMs

    The age approximate maximum age of the last segment that is retained

    maxIndexSize

    The maximum size of an index file

    indexInterval

    The approximate number of bytes between index entries

    fileDeleteDelayMs

    The time to wait before deleting a file from the filesystem

    deleteRetentionMs

    The time to retain delete markers in the log. Only applicable for logs that are being compacted.

    minCleanableRatio

    The ratio of bytes that are available for cleaning to the bytes already cleaned

    compact

    Should old segments in this log be deleted or deduplicated?

    uncleanLeaderElectionEnable

    Indicates whether unclean leader election is enabled; actually a controller-level property but included here for topic-specific configuration validation purposes

    minInSyncReplicas

    If number of insync replicas drops below this number, we stop accepting writes with -1 (or all) required acks

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val compact: Boolean

    Should old segments in this log be deleted or deduplicated?

  9. val deleteRetentionMs: Long

    The time to retain delete markers in the log.

    The time to retain delete markers in the log. Only applicable for logs that are being compacted.

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. val fileDeleteDelayMs: Long

    The time to wait before deleting a file from the filesystem

  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. val flushInterval: Long

    The number of messages that can be written to the log before a flush is forced

  14. val flushMs: Long

    The amount of time the log can have dirty data before a flush is forced

  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. val indexInterval: Int

    The approximate number of bytes between index entries

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. val maxIndexSize: Int

    The maximum size of an index file

  19. val maxMessageSize: Int

  20. val minCleanableRatio: Double

    The ratio of bytes that are available for cleaning to the bytes already cleaned

  21. val minInSyncReplicas: Int

    If number of insync replicas drops below this number, we stop accepting writes with -1 (or all) required acks

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

    Definition Classes
    AnyRef
  23. final def notify(): Unit

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

    Definition Classes
    AnyRef
  25. def randomSegmentJitter: Long

  26. val retentionMs: Long

    The age approximate maximum age of the last segment that is retained

  27. val retentionSize: Long

    The approximate total number of bytes this log can use

  28. val segmentJitterMs: Long

    The maximum random jitter subtracted from segmentMs to avoid thundering herds of segment rolling

  29. val segmentMs: Long

    The soft maximum on the amount of time before a new log segment is rolled

  30. val segmentSize: Int

    The soft maximum for the size of a segment file in the log

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

    Definition Classes
    AnyRef
  32. def toProps: Properties

  33. val uncleanLeaderElectionEnable: Boolean

    Indicates whether unclean leader election is enabled; actually a controller-level property but included here for topic-specific configuration validation purposes

  34. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped