- withAcks(Acks) - Method in class net.soundvibe.kafka.config.producer.ProducerConfigBuilder
-
The number of acknowledgments the producer requires the leader to have received before considering a request complete.
- withAllowAutoCreateTopics(boolean) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
Allow automatic topic creation on the broker when
subscribing to or assigning a topic.
- withAutoCommitInterval(Duration) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
The frequency in milliseconds that the consumer offsets are auto-committed to Kafka if enable.auto.commit is set to true.
- withAutoOffsetReset(OffsetResetStrategy) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
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.
- withBatchSize(int) - Method in class net.soundvibe.kafka.config.producer.ProducerConfigBuilder
-
The producer will attempt to batch records together into fewer requests whenever multiple records are being sent
to the same partition.
- withBootstrapServers(String) - Method in class net.soundvibe.kafka.config.AbstractConfigBuilder
-
A list of host/port pairs to use for establishing the initial connection to the Kafka cluster.
- withBufferMemory(long) - Method in class net.soundvibe.kafka.config.producer.ProducerConfigBuilder
-
The total bytes of memory the producer can use to buffer records waiting to be sent to the server.
- withCheckCRCs(boolean) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
Automatically check the CRC32 of the records consumed.
- withClientDNSLookup(ClientDnsLookup) - Method in class net.soundvibe.kafka.config.AbstractConfigBuilder
-
Controls how the client uses DNS lookups.
- withClientId(String) - Method in class net.soundvibe.kafka.config.AbstractConfigBuilder
-
An id string to pass to the server when making requests.
- withClientRack(String) - Method in class net.soundvibe.kafka.config.AbstractConfigBuilder
-
A rack identifier for this client.
- withCompressionType(CompressionType) - Method in class net.soundvibe.kafka.config.producer.ProducerConfigBuilder
-
The compression type for all data generated by the producer.
- withConnectionsMaxIdle(Duration) - Method in class net.soundvibe.kafka.config.AbstractConfigBuilder
-
Close idle connections after the duration specified by this config.
- withDefaultApiTimeout(Duration) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
Specifies the timeout for consumer APIs that could block.
- withDeliveryTimeout(Duration) - Method in class net.soundvibe.kafka.config.producer.ProducerConfigBuilder
-
An upper bound on the time to report success or failure
after a call to send() returns.
- withEnableAutoCommit(boolean) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
If true the consumer's offset will be periodically committed in the background.
- withEnableIdempotence(boolean) - Method in class net.soundvibe.kafka.config.producer.ProducerConfigBuilder
-
When set to 'true', the producer will ensure that exactly one copy of each message is written in the stream.
- withExcludeInternalTopics(boolean) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
Whether internal topics matching a subscribed pattern should
be excluded from the subscription.
- withFetchMaxBytes(int) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
The maximum amount of data the server should return for a fetch request.
- withFetchMaxWait(Duration) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
The maximum amount of time the server will block before answering the fetch request if there isn't sufficient data to immediately satisfy the requirement given by fetch.min.bytes.
- withFetchMinBytes(int) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
The minimum amount of data the server should return for a fetch request.
- withGroupId(String) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
A unique string that identifies the consumer group this consumer belongs to.
- withGroupInstanceId(String) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
A unique identifier of the consumer instance provided by end user.
- withHeartbeatInterval(Duration) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
The expected time between heartbeats to the consumer
coordinator when using Kafka's group management facilities.
- withInterceptorClasses(Class<? extends ConsumerInterceptor>...) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
A list of classes to use as interceptors.
- withInterceptorClasses(Class<? extends ProducerInterceptor>...) - Method in class net.soundvibe.kafka.config.producer.ProducerConfigBuilder
-
A list of classes to use as interceptors.
- withIsolationLevel(IsolationLevel) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
Controls how to read messages written transactionally.
- withKeyDeserializer(Deserializer<?>) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
Deserializer class for key that implements the org.apache.kafka.common.serialization.Deserializer interface.
- withKeySerializer(Serializer<?>) - Method in class net.soundvibe.kafka.config.producer.ProducerConfigBuilder
-
Serializer class for key that implements the org.apache.kafka.common.serialization.Serializer interface.
- withLinger(Duration) - Method in class net.soundvibe.kafka.config.producer.ProducerConfigBuilder
-
The producer groups together any records that arrive in between request transmissions into a single batched request.
- withMaxBlock(Duration) - Method in class net.soundvibe.kafka.config.producer.ProducerConfigBuilder
-
The configuration controls how long KafkaProducer.send() and KafkaProducer.partitionsFor() will block.
- withMaxInFlightRequestsPerConnection(int) - Method in class net.soundvibe.kafka.config.producer.ProducerConfigBuilder
-
The maximum number of unacknowledged requests the client will send on a single connection before blocking.
- withMaxPartitionFetchBytes(int) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
The maximum amount of data per-partition the server
will return.
- withMaxPollInterval(Duration) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
The maximum delay between invocations of poll() when using
consumer group management.
- withMaxPollRecords(int) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
The maximum number of records returned in a single call to poll().
- withMaxRequestSize(int) - Method in class net.soundvibe.kafka.config.producer.ProducerConfigBuilder
-
The maximum size of a request in bytes.
- withMetadataMaxAge(Duration) - Method in class net.soundvibe.kafka.config.AbstractConfigBuilder
-
The period of time after which we force a refresh of metadata even if we haven't seen any partition leadership changes to proactively discover any new brokers or partitions.
- withMetricReporterClasses(Class<?>...) - Method in class net.soundvibe.kafka.config.AbstractConfigBuilder
-
A list of classes to use as metrics reporters.
- withMetricsNumSamples(int) - Method in class net.soundvibe.kafka.config.AbstractConfigBuilder
-
The number of samples maintained to compute metrics.
- withMetricsRecordingLevel(Sensor.RecordingLevel) - Method in class net.soundvibe.kafka.config.AbstractConfigBuilder
-
The highest recording level for metrics.
- withMetricsSampleWindow(Duration) - Method in class net.soundvibe.kafka.config.AbstractConfigBuilder
-
The window of time a metrics sample is computed over.
- withPartitionAssignmentStrategy(Class<? extends PartitionAssignor>) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
The class of the partition assignment strategy that the client will use to distribute partition ownership amongst consumer instances when group management is used.
- withPartitioner(Class<? extends Partitioner>) - Method in class net.soundvibe.kafka.config.producer.ProducerConfigBuilder
-
Partitioner class that implements the org.apache.kafka.clients.producer.Partitioner interface.
- withReceiveBufferBytes(int) - Method in class net.soundvibe.kafka.config.AbstractConfigBuilder
-
The size of the TCP receive buffer (SO_RCVBUF) to use when reading data.
- withReconnectBackoff(Duration) - Method in class net.soundvibe.kafka.config.AbstractConfigBuilder
-
The base amount of time to wait before attempting to reconnect to a given host.
- withReconnectBackoffMax(Duration) - Method in class net.soundvibe.kafka.config.AbstractConfigBuilder
-
The maximum amount of time in milliseconds to wait when reconnecting to a broker that has repeatedly failed to connect.
- withRequestTimeout(Duration) - Method in class net.soundvibe.kafka.config.AbstractConfigBuilder
-
The configuration controls the maximum amount of time the client will wait
for the response of a request.
- withRequestTimeout(Duration) - Method in class net.soundvibe.kafka.config.producer.ProducerConfigBuilder
-
This should be larger than replica.lag.time.max.ms (a broker configuration)
to reduce the possibility of message duplication due to unnecessary producer retries.
- withRetries(int) - Method in class net.soundvibe.kafka.config.producer.ProducerConfigBuilder
-
Setting a value greater than zero will cause the client to resend any record whose send fails with a potentially transient error.
- withRetryBackoff(Duration) - Method in class net.soundvibe.kafka.config.AbstractConfigBuilder
-
The amount of time to wait before attempting to retry a failed request to a given topic partition.
- withSendBufferBytes(int) - Method in class net.soundvibe.kafka.config.AbstractConfigBuilder
-
The size of the TCP send buffer (SO_SNDBUF) to use when sending data.
- withSessionTimeout(Duration) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
The timeout used to detect consumer failures when using
Kafka's group management facility.
- withTransactionalId(String) - Method in class net.soundvibe.kafka.config.producer.ProducerConfigBuilder
-
The TransactionalId to use for transactional delivery.
- withTransactionTimeout(Duration) - Method in class net.soundvibe.kafka.config.producer.ProducerConfigBuilder
-
The maximum amount of time in ms that the transaction coordinator will wait for a transaction status update from the producer before proactively aborting the ongoing transaction.
- withValueDeserializer(Deserializer<?>) - Method in class net.soundvibe.kafka.config.consumer.ConsumerConfigBuilder
-
Deserializer class for value that implements the org.apache.kafka.common.serialization.Deserializer interface.
- withValueSerializer(Serializer<?>) - Method in class net.soundvibe.kafka.config.producer.ProducerConfigBuilder
-
Serializer class for value that implements the org.apache.kafka.common.serialization.Serializer interface.