Uses of Interface
org.apache.camel.builder.endpoint.dsl.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder
Packages that use KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder
-
Uses of KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder in org.apache.camel.builder.endpoint.dsl
Subinterfaces of KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder in org.apache.camel.builder.endpoint.dslModifier and TypeInterfaceDescriptionstatic interfaceBuilder for endpoint for the Kafka component.Methods in org.apache.camel.builder.endpoint.dsl that return KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilderModifier and TypeMethodDescriptionKafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.additionalProperties(String key, Object value) Sets additional properties for either kafka consumer or kafka producer in case they can't be set directly on the camel configurations (e.g: new Kafka properties that are not reflected yet in Camel configurations), the properties have to be prefixed with additionalProperties..KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.additionalProperties(Map values) Sets additional properties for either kafka consumer or kafka producer in case they can't be set directly on the camel configurations (e.g: new Kafka properties that are not reflected yet in Camel configurations), the properties have to be prefixed with additionalProperties..KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.allowManualCommit(boolean allowManualCommit) Whether to allow doing manual commits via KafkaManualCommit.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.allowManualCommit(String allowManualCommit) Whether to allow doing manual commits via KafkaManualCommit.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.autoCommitEnable(boolean autoCommitEnable) If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.autoCommitEnable(String autoCommitEnable) If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.autoCommitIntervalMs(Integer autoCommitIntervalMs) The frequency in ms that the consumer offsets are committed to zookeeper.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.autoCommitIntervalMs(String autoCommitIntervalMs) The frequency in ms that the consumer offsets are committed to zookeeper.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.autoOffsetReset(String autoOffsetReset) 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.KafkaEndpointBuilderFactory.AdvancedKafkaEndpointConsumerBuilder.basic()KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.breakOnFirstError(boolean breakOnFirstError) This options controls what happens when a consumer is processing an exchange and it fails.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.breakOnFirstError(String breakOnFirstError) This options controls what happens when a consumer is processing an exchange and it fails.URL of the Kafka brokers to use.Automatically check the CRC32 of the records consumed.Automatically check the CRC32 of the records consumed.The client id is a user-specified string sent in each request to help trace calls.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.commitTimeoutMs(Long commitTimeoutMs) The maximum time, in milliseconds, that the code will wait for a synchronous commit to complete.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.commitTimeoutMs(String commitTimeoutMs) The maximum time, in milliseconds, that the code will wait for a synchronous commit to complete.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.consumerRequestTimeoutMs(Integer consumerRequestTimeoutMs) The configuration controls the maximum amount of time the client will wait for the response of a request.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.consumerRequestTimeoutMs(String consumerRequestTimeoutMs) The configuration controls the maximum amount of time the client will wait for the response of a request.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.consumersCount(int consumersCount) The number of consumers that connect to kafka server.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.consumersCount(String consumersCount) The number of consumers that connect to kafka server.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.fetchMaxBytes(Integer fetchMaxBytes) The maximum amount of data the server should return for a fetch request This is not an absolute maximum, if the first message in the first non-empty partition of the fetch is larger than this value, the message will still be returned to ensure that the consumer can make progress.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.fetchMaxBytes(String fetchMaxBytes) The maximum amount of data the server should return for a fetch request This is not an absolute maximum, if the first message in the first non-empty partition of the fetch is larger than this value, the message will still be returned to ensure that the consumer can make progress.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.fetchMinBytes(Integer fetchMinBytes) The minimum amount of data the server should return for a fetch request.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.fetchMinBytes(String fetchMinBytes) The minimum amount of data the server should return for a fetch request.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.fetchWaitMaxMs(Integer fetchWaitMaxMs) 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.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.fetchWaitMaxMs(String fetchWaitMaxMs) 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.A string that uniquely identifies the group of consumer processes to which this consumer belongs.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.groupInstanceId(String groupInstanceId) A unique identifier of the consumer instance provided by the end user.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.headerDeserializer(String headerDeserializer) To use a custom KafkaHeaderDeserializer to deserialize kafka headers values.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.headerDeserializer(org.apache.camel.component.kafka.serde.KafkaHeaderDeserializer headerDeserializer) To use a custom KafkaHeaderDeserializer to deserialize kafka headers values.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.headerFilterStrategy(String headerFilterStrategy) To use a custom HeaderFilterStrategy to filter header to and from Camel message.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) To use a custom HeaderFilterStrategy to filter header to and from Camel message.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.heartbeatIntervalMs(Integer heartbeatIntervalMs) The expected time between heartbeats to the consumer coordinator when using Kafka's group management facilities.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.heartbeatIntervalMs(String heartbeatIntervalMs) The expected time between heartbeats to the consumer coordinator when using Kafka's group management facilities.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.interceptorClasses(String interceptorClasses) Sets interceptors for producer or consumers.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.kerberosBeforeReloginMinTime(Integer kerberosBeforeReloginMinTime) Login thread sleep time between refresh attempts.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.kerberosBeforeReloginMinTime(String kerberosBeforeReloginMinTime) Login thread sleep time between refresh attempts.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.kerberosConfigLocation(String kerberosConfigLocation) Location of the kerberos config file.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.kerberosInitCmd(String kerberosInitCmd) Kerberos kinit command path.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.kerberosPrincipalToLocalRules(String kerberosPrincipalToLocalRules) A list of rules for mapping from principal names to short names (typically operating system usernames).KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.kerberosRenewJitter(Double kerberosRenewJitter) Percentage of random jitter added to the renewal time.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.kerberosRenewJitter(String kerberosRenewJitter) Percentage of random jitter added to the renewal time.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.kerberosRenewWindowFactor(Double kerberosRenewWindowFactor) 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.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.kerberosRenewWindowFactor(String kerberosRenewWindowFactor) 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.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.keyDeserializer(String keyDeserializer) Deserializer class for the key that implements the Deserializer interface.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.maxPartitionFetchBytes(Integer maxPartitionFetchBytes) The maximum amount of data per-partition the server will return.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.maxPartitionFetchBytes(String maxPartitionFetchBytes) The maximum amount of data per-partition the server will return.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.maxPollIntervalMs(Integer maxPollIntervalMs) The maximum delay between invocations of poll() when using consumer group management.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.maxPollIntervalMs(String maxPollIntervalMs) The maximum delay between invocations of poll() when using consumer group management.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.maxPollRecords(Integer maxPollRecords) The maximum number of records returned in a single call to poll().KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.maxPollRecords(String maxPollRecords) The maximum number of records returned in a single call to poll().KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.offsetRepository(String offsetRepository) The offset repository to use in order to locally store the offset of each partition of the topic.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.offsetRepository(org.apache.camel.spi.StateRepository<String, String> offsetRepository) The offset repository to use in order to locally store the offset of each partition of the topic.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.partitionAssignor(String partitionAssignor) 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.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.pollOnError(String pollOnError) What to do if kafka threw an exception while polling for new messages.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.pollOnError(org.apache.camel.component.kafka.PollOnError pollOnError) What to do if kafka threw an exception while polling for new messages.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.pollTimeoutMs(Long pollTimeoutMs) The timeout used when polling the KafkaConsumer.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.pollTimeoutMs(String pollTimeoutMs) The timeout used when polling the KafkaConsumer.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.preValidateHostAndPort(boolean preValidateHostAndPort) Whether to eager validate that broker host:port is valid and can be DNS resolved to known host during starting this consumer.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.preValidateHostAndPort(String preValidateHostAndPort) Whether to eager validate that broker host:port is valid and can be DNS resolved to known host during starting this consumer.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.reconnectBackoffMaxMs(Integer reconnectBackoffMaxMs) The maximum amount of time in milliseconds to wait when reconnecting to a broker that has repeatedly failed to connect.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.reconnectBackoffMaxMs(String reconnectBackoffMaxMs) The maximum amount of time in milliseconds to wait when reconnecting to a broker that has repeatedly failed to connect.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.saslJaasConfig(String saslJaasConfig) Expose the kafka sasl.jaas.config parameter Example: org.apache.kafka.common.security.plain.PlainLoginModule required username=USERNAME password=PASSWORD;.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.saslKerberosServiceName(String saslKerberosServiceName) The Kerberos principal name that Kafka runs as.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.saslMechanism(String saslMechanism) The Simple Authentication and Security Layer (SASL) Mechanism used.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.schemaRegistryURL(String schemaRegistryURL) URL of the schema registry servers to use.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.securityProtocol(String securityProtocol) Protocol used to communicate with brokers.Set if KafkaConsumer will read from the beginning or the end on startup: SeekPolicy.BEGINNING: read from the beginning.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.seekTo(org.apache.camel.component.kafka.SeekPolicy seekTo) Set if KafkaConsumer will read from the beginning or the end on startup: SeekPolicy.BEGINNING: read from the beginning.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.sessionTimeoutMs(Integer sessionTimeoutMs) The timeout used to detect failures when using Kafka's group management facilities.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.sessionTimeoutMs(String sessionTimeoutMs) The timeout used to detect failures when using Kafka's group management facilities.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.shutdownTimeout(int shutdownTimeout) Timeout in milliseconds to wait gracefully for the consumer or producer to shutdown and terminate its worker threads.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.shutdownTimeout(String shutdownTimeout) Timeout in milliseconds to wait gracefully for the consumer or producer to shutdown and terminate its worker threads.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.specificAvroReader(boolean specificAvroReader) This enables the use of a specific Avro reader for use with the in multiple Schema registries documentation with Avro Deserializers implementation.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.specificAvroReader(String specificAvroReader) This enables the use of a specific Avro reader for use with the in multiple Schema registries documentation with Avro Deserializers implementation.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.sslCipherSuites(String sslCipherSuites) A list of cipher suites.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.sslContextParameters(String sslContextParameters) SSL configuration using a Camel SSLContextParameters object.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) SSL configuration using a Camel SSLContextParameters object.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.sslEnabledProtocols(String sslEnabledProtocols) The list of protocols enabled for SSL connections.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.sslEndpointAlgorithm(String sslEndpointAlgorithm) The endpoint identification algorithm to validate server hostname using server certificate.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.sslKeymanagerAlgorithm(String sslKeymanagerAlgorithm) The algorithm used by key manager factory for SSL connections.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.sslKeyPassword(String sslKeyPassword) The password of the private key in the key store file or the PEM key specified in sslKeystoreKey.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.sslKeystoreLocation(String sslKeystoreLocation) The location of the key store file.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.sslKeystorePassword(String sslKeystorePassword) The store password for the key store file.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.sslKeystoreType(String sslKeystoreType) The file format of the key store file.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.sslProtocol(String sslProtocol) The SSL protocol used to generate the SSLContext.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.sslProvider(String sslProvider) The name of the security provider used for SSL connections.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.sslTrustmanagerAlgorithm(String sslTrustmanagerAlgorithm) The algorithm used by trust manager factory for SSL connections.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.sslTruststoreLocation(String sslTruststoreLocation) The location of the trust store file.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.sslTruststorePassword(String sslTruststorePassword) The password for the trust store file.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.sslTruststoreType(String sslTruststoreType) The file format of the trust store file.KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.topicIsPattern(boolean topicIsPattern) Whether the topic is a pattern (regular expression).KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.topicIsPattern(String topicIsPattern) Whether the topic is a pattern (regular expression).KafkaEndpointBuilderFactory.KafkaEndpointConsumerBuilder.valueDeserializer(String valueDeserializer) Deserializer class for value that implements the Deserializer interface.