Class

kafka.log

CleanerConfig

Related Doc: package log

Permalink

case class CleanerConfig(numThreads: Int = 1, dedupeBufferSize: Long = 4*1024*1024L, dedupeBufferLoadFactor: Double = 0.9d, ioBufferSize: Int = 1024*1024, maxMessageSize: Int = 32*1024*1024, maxIoBytesPerSecond: Double = Double.MaxValue, backOffMs: Long = 15 * 1000, enableCleaner: Boolean = true, hashAlgorithm: String = "MD5") extends Product with Serializable

Configuration parameters for the log cleaner

numThreads

The number of cleaner threads to run

dedupeBufferSize

The total memory used for log deduplication

dedupeBufferLoadFactor

The maximum percent full for the deduplication buffer

maxMessageSize

The maximum size of a message that can appear in the log

maxIoBytesPerSecond

The maximum read and write I/O that all cleaner threads are allowed to do

backOffMs

The amount of time to wait before rechecking if no logs are eligible for cleaning

enableCleaner

Allows completely disabling the log cleaner

hashAlgorithm

The hash algorithm to use in key comparison.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CleanerConfig
  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 CleanerConfig(numThreads: Int = 1, dedupeBufferSize: Long = 4*1024*1024L, dedupeBufferLoadFactor: Double = 0.9d, ioBufferSize: Int = 1024*1024, maxMessageSize: Int = 32*1024*1024, maxIoBytesPerSecond: Double = Double.MaxValue, backOffMs: Long = 15 * 1000, enableCleaner: Boolean = true, hashAlgorithm: String = "MD5")

    Permalink

    numThreads

    The number of cleaner threads to run

    dedupeBufferSize

    The total memory used for log deduplication

    dedupeBufferLoadFactor

    The maximum percent full for the deduplication buffer

    maxMessageSize

    The maximum size of a message that can appear in the log

    maxIoBytesPerSecond

    The maximum read and write I/O that all cleaner threads are allowed to do

    backOffMs

    The amount of time to wait before rechecking if no logs are eligible for cleaning

    enableCleaner

    Allows completely disabling the log cleaner

    hashAlgorithm

    The hash algorithm to use in key comparison.

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. val backOffMs: Long

    Permalink

    The amount of time to wait before rechecking if no logs are eligible for cleaning

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val dedupeBufferLoadFactor: Double

    Permalink

    The maximum percent full for the deduplication buffer

  8. val dedupeBufferSize: Long

    Permalink

    The total memory used for log deduplication

  9. val enableCleaner: Boolean

    Permalink

    Allows completely disabling the log cleaner

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. val hashAlgorithm: String

    Permalink

    The hash algorithm to use in key comparison.

  14. val ioBufferSize: Int

    Permalink
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val maxIoBytesPerSecond: Double

    Permalink

    The maximum read and write I/O that all cleaner threads are allowed to do

  17. val maxMessageSize: Int

    Permalink

    The maximum size of a message that can appear in the log

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

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

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

    Permalink
    Definition Classes
    AnyRef
  21. val numThreads: Int

    Permalink

    The number of cleaner threads to run

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. 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