- serialize(String, Object) - Method in class org.apache.camel.component.kafka.serde.DefaultKafkaHeaderSerializer
-
- serialize(String, Object) - Method in interface org.apache.camel.component.kafka.serde.KafkaHeaderSerializer
-
- serializeOffsetKey(TopicPartition) - Method in class org.apache.camel.component.kafka.DefaultKafkaManualCommit
-
- serializeOffsetKey(TopicPartition) - Method in class org.apache.camel.component.kafka.KafkaConsumer
-
- serializeOffsetValue(long) - Method in class org.apache.camel.component.kafka.DefaultKafkaManualCommit
-
- serializeOffsetValue(long) - Method in class org.apache.camel.component.kafka.KafkaConsumer
-
- setAllowManualCommit(boolean) - Method in class org.apache.camel.component.kafka.KafkaComponent
-
- setAllowManualCommit(boolean) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
- setAutoCommitEnable(Boolean) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer.
- setAutoCommitIntervalMs(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The frequency in ms that the consumer offsets are committed to zookeeper.
- setAutoCommitOnStop(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Whether to perform an explicit auto commit when the consumer stops to ensure the broker
has a commit from the last consumed message.
- setAutoOffsetReset(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
What to do when there is no initial offset in ZooKeeper or if an offset is out of range:
earliest : automatically reset the offset to the earliest offset
latest : automatically reset the offset to the latest offset
fail: throw exception to the consumer
- setBootstrapServers(String) - Method in class org.apache.camel.processor.idempotent.kafka.KafkaIdempotentRepository
-
Sets the
- setBreakOnFirstError(boolean) - Method in class org.apache.camel.component.kafka.KafkaComponent
-
This options controls what happens when a consumer is processing an exchange and it fails.
- setBreakOnFirstError(boolean) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
This options controls what happens when a consumer is processing an exchange and it fails.
- setBridgeEndpoint(boolean) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
If the option is true, then KafkaProducer will ignore the KafkaConstants.TOPIC header setting of the inbound message.
- setBrokers(String) - Method in class org.apache.camel.component.kafka.KafkaComponent
-
URL of the Kafka brokers to use.
- setBrokers(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
URL of the Kafka brokers to use.
- setBufferMemorySize(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The total bytes of memory the producer can use to buffer records waiting to be sent to the server.
- setCamelContext(CamelContext) - Method in class org.apache.camel.processor.idempotent.kafka.KafkaIdempotentRepository
-
- setCheckCrcs(Boolean) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Automatically check the CRC32 of the records consumed.
- setCircularTopicDetection(boolean) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
If the option is true, then KafkaProducer will detect if the message is attempted to be sent back to the same topic
it may come from, if the message was original from a kafka consumer.
- setClientId(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The client id is a user-specified string sent in each request to help trace calls.
- setCompressionCodec(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
This parameter allows you to specify the compression codec for all data generated by this producer.
- setConfiguration(KafkaConfiguration) - Method in class org.apache.camel.component.kafka.KafkaComponent
-
Allows to pre-configure the Kafka component with common options that the endpoints will reuse.
- setConfiguration(KafkaConfiguration) - Method in class org.apache.camel.component.kafka.KafkaEndpoint
-
- setConnectionMaxIdleMs(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Close idle connections after the number of milliseconds specified by this config.
- setConsumerConfig(Properties) - Method in class org.apache.camel.processor.idempotent.kafka.KafkaIdempotentRepository
-
Sets the properties that will be used by the Kafka consumer.
- setConsumerRequestTimeoutMs(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The configuration controls the maximum amount of time the client will wait for the response
of a request.
- setConsumersCount(int) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The number of consumers that connect to kafka server
- setConsumerStreams(int) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Number of concurrent consumers on the consumer
- setEnableIdempotence(boolean) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
If set to 'true' the producer will ensure that exactly one copy of each message is written in the stream.
- setFetchMaxBytes(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
- setFetchMinBytes(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The minimum amount of data the server should return for a fetch request.
- setFetchWaitMaxMs(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The maximum amount of time the server will block before answering the fetch request if there isn't sufficient data to immediately satisfy fetch.min.bytes
- setGroupId(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
A string that uniquely identifies the group of consumer processes to which this consumer belongs.
- setHeaderFilterStrategy(HeaderFilterStrategy) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
To use a custom HeaderFilterStrategy to filter header to and from Camel message.
- setHeartbeatIntervalMs(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The expected time between heartbeats to the consumer coordinator when using Kafka's group management facilities.
- setInterceptorClasses(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Sets interceptors for producer or consumers.
- setKafkaHeaderDeserializer(KafkaHeaderDeserializer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Sets custom KafkaHeaderDeserializer for deserialization kafka headers values to camel headers values.
- setKafkaHeaderSerializer(KafkaHeaderSerializer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Sets custom KafkaHeaderDeserializer for serialization camel headers values to kafka headers values.
- setKafkaManualCommitFactory(KafkaManualCommitFactory) - Method in class org.apache.camel.component.kafka.KafkaComponent
-
- setKafkaProducer(KafkaProducer) - Method in class org.apache.camel.component.kafka.KafkaProducer
-
To use a custom KafkaProducer
instance.
- setKerberosBeforeReloginMinTime(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Login thread sleep time between refresh attempts.
- setKerberosInitCmd(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Kerberos kinit command path.
- setKerberosPrincipalToLocalRules(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
A list of rules for mapping from principal names to short names (typically operating system usernames).
- setKerberosRenewJitter(Double) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Percentage of random jitter added to the renewal time.
- setKerberosRenewWindowFactor(Double) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Login thread will sleep until the specified window factor of time from last
refresh to ticket's expiry has been reached, at which time it will try to renew the ticket.
- setKey(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The record key (or null if no key is specified).
- setKeyDeserializer(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Deserializer class for key that implements the Deserializer interface.
- setKeySerializerClass(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The serializer class for keys (defaults to the same as for messages if nothing is given).
- setLingerMs(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The producer groups together any records that arrive in between request transmissions into a single batched request.
- setMaxBlockMs(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The configuration controls how long sending to kafka will block.
- setMaxCacheSize(int) - Method in class org.apache.camel.processor.idempotent.kafka.KafkaIdempotentRepository
-
Sets the maximum size of the local key cache.
- setMaxInFlightRequest(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The maximum number of unacknowledged requests the client will send on a single connection before blocking.
- setMaxPartitionFetchBytes(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The maximum amount of data per-partition the server will return.
- setMaxPollIntervalMs(Long) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The maximum delay between invocations of poll() when using consumer group management.
- setMaxPollRecords(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The maximum number of records returned in a single call to poll()
- setMaxRequestSize(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The maximum size of a request.
- setMetadataMaxAgeMs(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The period of time in milliseconds 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.
- setMetricReporters(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
A list of classes to use as metrics reporters.
- setMetricsSampleWindowMs(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The number of samples maintained to compute metrics.
- setNoOfMetricsSample(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The number of samples maintained to compute metrics.
- setOffsetRepository(StateRepository<String, String>) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The offset repository to use in order to locally store the offset of each partition of the topic.
- setPartitionAssignor(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The class name of the partition assignment strategy that the client will use to distribute
partition ownership amongst consumer instances when group management is used
- setPartitioner(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The partitioner class for partitioning messages amongst sub-topics.
- setPartitionKey(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The partition to which the record will be sent (or null if no partition was specified).
- setPollDurationMs(int) - Method in class org.apache.camel.processor.idempotent.kafka.KafkaIdempotentRepository
-
Sets the poll duration of the Kafka consumer.
- setPollTimeoutMs(Long) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The timeout used when polling the KafkaConsumer.
- setProducerBatchSize(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The producer will attempt to batch records together into fewer requests whenever multiple records are being sent to the same partition.
- setProducerConfig(Properties) - Method in class org.apache.camel.processor.idempotent.kafka.KafkaIdempotentRepository
-
Sets the properties that will be used by the Kafka producer.
- setQueueBufferingMaxMessages(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The maximum number of unsent messages that can be queued up the producer when using async
mode before either the producer must be blocked or data must be dropped.
- setReceiveBufferBytes(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The size of the TCP receive buffer (SO_RCVBUF) to use when reading data.
- setReconnectBackoffMaxMs(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The maximum amount of time in milliseconds to wait when reconnecting to a
broker that has repeatedly failed to connect.
- setReconnectBackoffMs(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The amount of time to wait before attempting to reconnect to a given host.
- setRecordMetadata(boolean) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Whether the producer should store the RecordMetadata
results from sending to Kafka.
- setRequestRequiredAcks(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The number of acknowledgments the producer requires the leader to have received before considering a request complete.
- setRequestTimeoutMs(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The amount of time the broker will wait trying to meet the request.required.acks requirement before sending back an error to the client.
- setRetries(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Setting a value greater than zero will cause the client to resend any record whose send fails with a potentially transient error.
- setRetryBackoffMs(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Before each retry, the producer refreshes the metadata of relevant topics to see if a new leader has been elected.
- setSaslJaasConfig(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Expose the kafka sasl.jaas.config parameter
Example:
org.apache.kafka.common.security.plain.PlainLoginModule required username="USERNAME" password="PASSWORD";
- setSaslKerberosServiceName(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The Kerberos principal name that Kafka runs as.
- setSaslMechanism(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The Simple Authentication and Security Layer (SASL) Mechanism used.
- setSecurityProtocol(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Protocol used to communicate with brokers.
- setSeekTo(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Set if KafkaConsumer will read from beginning or end on startup:
beginning : read from beginning
end : read from end
This is replacing the earlier property seekToBeginning
- setSendBufferBytes(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Socket write buffer size
- setSerializerClass(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The serializer class for messages.
- setSessionTimeoutMs(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The timeout used to detect failures when using Kafka's group management facilities.
- setSslCipherSuites(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
A list of cipher suites.
- setSslContextParameters(SSLContextParameters) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
SSL configuration using a Camel SSLContextParameters
object.
- setSslEnabledProtocols(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The list of protocols enabled for SSL connections.
- setSslEndpointAlgorithm(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The endpoint identification algorithm to validate server hostname using server certificate.
- setSslKeymanagerAlgorithm(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The algorithm used by key manager factory for SSL connections.
- setSslKeyPassword(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The password of the private key in the key store file.
- setSslKeystoreLocation(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The location of the key store file.
- setSslKeystorePassword(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The store password for the key store file.This is optional for client and only needed
if ssl.keystore.location is configured.
- setSslKeystoreType(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The file format of the key store file.
- setSslProtocol(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The SSL protocol used to generate the SSLContext.
- setSslProvider(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The name of the security provider used for SSL connections.
- setSslTrustmanagerAlgorithm(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The algorithm used by trust manager factory for SSL connections.
- setSslTruststoreLocation(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The location of the trust store file.
- setSslTruststorePassword(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The password for the trust store file.
- setSslTruststoreType(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
The file format of the trust store file.
- setTopic(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Name of the topic to use.
- setTopic(String) - Method in class org.apache.camel.processor.idempotent.kafka.KafkaIdempotentRepository
-
Sets the name of the Kafka topic used by this idempotent repository.
- setTopicIsPattern(boolean) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Whether the topic is a pattern (regular expression).
- setUseGlobalSslContextParameters(boolean) - Method in class org.apache.camel.component.kafka.KafkaComponent
-
Enable usage of global SSL context parameters.
- setValueDeserializer(String) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Deserializer class for value that implements the Deserializer interface.
- setWorkerPool(ExecutorService) - Method in class org.apache.camel.component.kafka.KafkaComponent
-
To use a shared custom worker pool for continue routing
Exchange
after kafka server has acknowledge
the message that was sent to it from
KafkaProducer
using asynchronous non-blocking processing.
- setWorkerPool(ExecutorService) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
To use a custom worker pool for continue routing
Exchange
after kafka server has acknowledge
the message that was sent to it from
KafkaProducer
using asynchronous non-blocking processing.
- setWorkerPool(ExecutorService) - Method in class org.apache.camel.component.kafka.KafkaProducer
-
- setWorkerPoolCoreSize(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Number of core threads for the worker pool for continue routing
Exchange
after kafka server has acknowledge
the message that was sent to it from
KafkaProducer
using asynchronous non-blocking processing.
- setWorkerPoolMaxSize(Integer) - Method in class org.apache.camel.component.kafka.KafkaConfiguration
-
Maximum number of threads for the worker pool for continue routing
Exchange
after kafka server has acknowledge
the message that was sent to it from
KafkaProducer
using asynchronous non-blocking processing.