kafka.log

LogConfig

case class LogConfig(segmentSize: Int, segmentMs: Long, flushInterval: Long, flushMs: Long, retentionSize: Long, retentionMs: Long, maxMessageSize: Int, maxIndexSize: Int, indexInterval: Int, fileDeleteDelayMs: Long, deleteRetentionMs: Long, minCleanableRatio: Double, compact: Boolean) 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

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?

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

Instance Constructors

  1. new LogConfig(segmentSize: Int = 1024.*(1024), segmentMs: Long = scala.Long.MaxValue, flushInterval: Long = scala.Long.MaxValue, flushMs: Long = scala.Long.MaxValue, retentionSize: Long = scala.Long.MaxValue, retentionMs: Long = scala.Long.MaxValue, maxMessageSize: Int = scala.Int.MaxValue, maxIndexSize: Int = 1024.*(1024), indexInterval: Int = 4096, fileDeleteDelayMs: Long = 60.*(1000), deleteRetentionMs: Long = 24.*(60).*(60).*(1000L), minCleanableRatio: Double = 0.5, compact: Boolean = false)

    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

    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?

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 canEqual(arg0: Any): Boolean

    Definition Classes
    LogConfig → Equals
  8. def clone(): AnyRef

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

    Should old segments in this log be deleted or deduplicated?

  10. 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.

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

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

    Definition Classes
    LogConfig → Equals → AnyRef → Any
  13. val fileDeleteDelayMs: Long

    The time to wait before deleting a file from the filesystem

  14. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. val flushInterval: Long

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

  16. val flushMs: Long

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

  17. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    LogConfig → AnyRef → Any
  19. val indexInterval: Int

    The approximate number of bytes between index entries

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. val maxIndexSize: Int

    The maximum size of an index file

  22. val maxMessageSize: Int

  23. val minCleanableRatio: Double

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

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

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

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

    Definition Classes
    AnyRef
  27. def productArity: Int

    Definition Classes
    LogConfig → Product
  28. def productElement(arg0: Int): Any

    Definition Classes
    LogConfig → Product
  29. def productIterator: Iterator[Any]

    Definition Classes
    Product
  30. def productPrefix: String

    Definition Classes
    LogConfig → Product
  31. val retentionMs: Long

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

  32. val retentionSize: Long

    The approximate total number of bytes this log can use

  33. val segmentMs: Long

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

  34. val segmentSize: Int

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

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

    Definition Classes
    AnyRef
  36. def toProps: Properties

  37. def toString(): String

    Definition Classes
    LogConfig → AnyRef → Any
  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any