case class TopicBatchSettings(rootConfig: Config, formatter: ValueFormatter, maxSizeInBytes: Long, flushFrequency: FiniteDuration, kafka: SinkPipe, logRate: Boolean, handlerForPartition: (TopicPartition) ⇒ BatchEventHandler) extends Product with Serializable
The parsed configuration for the TopicBatch
- rootConfig
the configuration the SinkProcess was initialised with
- formatter
a means of converting SinkRecords into byte arrays
- maxSizeInBytes
how many bytes we should append before flushing a TopicBatch
- flushFrequency
how often the TopicBatches should be created should we not be appending enough data to satisfy the 'maxSizeInBytes'
- kafka
a handle to the kafka events
- logRate
flag to indicate that the messages per second should be logged periodically
- handlerForPartition
a means to create a new buffer (BatchEventHandler) for a particular topic
- Alphabetic
- By Inheritance
- TopicBatchSettings
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
TopicBatchSettings(rootConfig: Config, formatter: ValueFormatter, maxSizeInBytes: Long, flushFrequency: FiniteDuration, kafka: SinkPipe, logRate: Boolean, handlerForPartition: (TopicPartition) ⇒ BatchEventHandler)
- rootConfig
the configuration the SinkProcess was initialised with
- formatter
a means of converting SinkRecords into byte arrays
- maxSizeInBytes
how many bytes we should append before flushing a TopicBatch
- flushFrequency
how often the TopicBatches should be created should we not be appending enough data to satisfy the 'maxSizeInBytes'
- kafka
a handle to the kafka events
- logRate
flag to indicate that the messages per second should be logged periodically
- handlerForPartition
a means to create a new buffer (BatchEventHandler) for a particular topic
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val flushFrequency: FiniteDuration
- val formatter: ValueFormatter
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val handlerForPartition: (TopicPartition) ⇒ BatchEventHandler
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val kafka: SinkPipe
- val logRate: Boolean
- val maxSizeInBytes: Long
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val rootConfig: Config
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )