package config
- Alphabetic
- Public
- All
Type Members
-
sealed
trait
Acks extends Product with Serializable
Enumeration for specifying the
acks
setting in KafkaProducerConfig.Enumeration for specifying the
acks
setting in KafkaProducerConfig.Represents the number of acknowledgments the producer requires the leader to have received before considering a request complete. This controls the durability of records that are sent.
For the available options see:
-
sealed
trait
AutoOffsetReset extends Serializable
What to do when there is no initial offset in Kafka or if the current offset does not exist any more on the server (e.g.
What to do when there is no initial offset in Kafka or if the current offset does not exist any more on the server (e.g. because that data has been deleted).
Available choices:
- abstract class ClassName[T] extends Serializable
-
sealed
trait
CompressionType extends Serializable
The compression type for all data generated by the producer, the
compression.type
from the Kafka Producer configuration.The compression type for all data generated by the producer, the
compression.type
from the Kafka Producer configuration.The default is none (i.e. no compression). Compression is of full batches of data, so the efficacy of batching will also impact the compression ratio (more batching means better compression).
Valid values:
-
sealed
trait
ObservableCommitOrder extends Serializable
Specifies the consumer commit order, to use by the KafkaConsumerObservable in case
kafka.enable.auto.commit
is set tofalse
.Specifies the consumer commit order, to use by the KafkaConsumerObservable in case
kafka.enable.auto.commit
is set tofalse
.Available options:
- ObservableCommitOrder.BeforeAck specifies to do a commit before acknowledgement is received from downstream
- ObservableCommitOrder.AfterAck specifies to do a commit after acknowledgement is received from downstream
- ObservableCommitOrder.NoAck specifies to skip committing
-
sealed
trait
ObservableCommitType extends Serializable
Specifies the consumer commit type, to use by the KafkaConsumerObservable in case
kafka.enable.auto.commit
is set tofalse
.Specifies the consumer commit type, to use by the KafkaConsumerObservable in case
kafka.enable.auto.commit
is set tofalse
.Available options:
- final case class PartitionerName(className: String) extends ClassName[Partitioner] with Product with Serializable
-
sealed
trait
SSLProtocol extends Serializable
Represents the available protocols to use for SSL connections.
Represents the available protocols to use for SSL connections.
Available values:
- SSLProtocol.TLSv12
- SSLProtocol.TLSv11
- SSLProtocol.TLSv1
- SSLProtocol.TLS
- SSLProtocol.SSLv3 (prefer only for older JVMs)
- SSLProtocol.SSLv2 (prefer only for older JVMs, no longer available for Java 8)
- SSLProtocol.SSL (prefer only for older JVMs)
-
sealed
trait
SecurityProtocol extends Serializable
The
security.protocol
setting for the Kafka Producer.The
security.protocol
setting for the Kafka Producer.Represents the protocol used to communicate with brokers.
Valid values are:
Value Members
- object Acks extends Serializable
- object AutoOffsetReset extends Serializable
- object CompressionType extends Serializable
- object ObservableCommitOrder extends Serializable
- object ObservableCommitType extends Serializable
- object PartitionerName extends Serializable
- object SSLProtocol extends Serializable
- object SecurityProtocol extends Serializable