Interface IggyEndpointBuilderFactory.IggyEndpointConsumerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
IggyEndpointBuilderFactory.IggyEndpointBuilder
- Enclosing interface:
IggyEndpointBuilderFactory
public static interface IggyEndpointBuilderFactory.IggyEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Iggy component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()autoCommit(boolean autoCommit) Controls message acknowledgment behavior.autoCommit(String autoCommit) Controls message acknowledgment behavior.autoCreateStream(boolean autoCreateStream) Whether to automatically create stream if it does not exist.autoCreateStream(String autoCreateStream) Whether to automatically create stream if it does not exist.autoCreateTopic(boolean autoCreateTopic) Whether to automatically create topic if it does not exist.autoCreateTopic(String autoCreateTopic) Whether to automatically create topic if it does not exist.clientTransport(String clientTransport) Polling strategy.compressionAlgorithm(String compressionAlgorithm) Compression algorithm for message payload.compressionAlgorithm(org.apache.iggy.topic.CompressionAlgorithm compressionAlgorithm) Compression algorithm for message payload.consumerGroupName(String consumerGroupName) The name of the consumer group.consumersCount(int consumersCount) Camel Iggy consumers count.consumersCount(String consumersCount) Camel Iggy consumers count.Iggy server hostname or IP address.maxTopicSize(Long maxTopicSize) Maximum topic size in bytes (0 means unlimited).maxTopicSize(String maxTopicSize) Maximum topic size in bytes (0 means unlimited).messageExpiry(Long messageExpiry) Message expiry time in seconds (0 means no expiry).messageExpiry(String messageExpiry) Message expiry time in seconds (0 means no expiry).partitionId(Long partitionId) The consumer partition id.partitionId(String partitionId) The consumer partition id.partitionsCount(Long partitionsCount) Number of partitions for the topic.partitionsCount(String partitionsCount) Number of partitions for the topic.Iggy password.pollBatchSize(Long pollBatchSize) The consumer poll batch size.pollBatchSize(String pollBatchSize) The consumer poll batch size.pollingStrategy(String pollingStrategy) Polling strategy.port(int port) Iggy server port number.Iggy server port number.replicationFactor(Short replicationFactor) Replication factor for the topic.replicationFactor(String replicationFactor) Replication factor for the topic.shutdownTimeout(int shutdownTimeout) Camel Iggy shutdown timeout.shutdownTimeout(String shutdownTimeout) Camel Iggy shutdown timeout.startingOffset(Long startingOffset) Defines the initial message offset position when autoCommit is disabled.startingOffset(String startingOffset) Defines the initial message offset position when autoCommit is disabled.Stream identifier.Stream identifier.streamName(String streamName) Stream name.Iggy username.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
autoCreateStream
default IggyEndpointBuilderFactory.IggyEndpointConsumerBuilder autoCreateStream(boolean autoCreateStream) Whether to automatically create stream if it does not exist. The option is a:booleantype. Default: true Group: common- Parameters:
autoCreateStream- the value to set- Returns:
- the dsl builder
-
autoCreateStream
default IggyEndpointBuilderFactory.IggyEndpointConsumerBuilder autoCreateStream(String autoCreateStream) Whether to automatically create stream if it does not exist. The option will be converted to abooleantype. Default: true Group: common- Parameters:
autoCreateStream- the value to set- Returns:
- the dsl builder
-
autoCreateTopic
default IggyEndpointBuilderFactory.IggyEndpointConsumerBuilder autoCreateTopic(boolean autoCreateTopic) Whether to automatically create topic if it does not exist. The option is a:booleantype. Default: true Group: common- Parameters:
autoCreateTopic- the value to set- Returns:
- the dsl builder
-
autoCreateTopic
default IggyEndpointBuilderFactory.IggyEndpointConsumerBuilder autoCreateTopic(String autoCreateTopic) Whether to automatically create topic if it does not exist. The option will be converted to abooleantype. Default: true Group: common- Parameters:
autoCreateTopic- the value to set- Returns:
- the dsl builder
-
clientTransport
default IggyEndpointBuilderFactory.IggyEndpointConsumerBuilder clientTransport(String clientTransport) Polling strategy. The option is a:java.lang.Stringtype. Default: TCP Group: common- Parameters:
clientTransport- the value to set- Returns:
- the dsl builder
-
compressionAlgorithm
default IggyEndpointBuilderFactory.IggyEndpointConsumerBuilder compressionAlgorithm(org.apache.iggy.topic.CompressionAlgorithm compressionAlgorithm) Compression algorithm for message payload. The option is a:org.apache.iggy.topic.CompressionAlgorithmtype. Default: None Group: common- Parameters:
compressionAlgorithm- the value to set- Returns:
- the dsl builder
-
compressionAlgorithm
default IggyEndpointBuilderFactory.IggyEndpointConsumerBuilder compressionAlgorithm(String compressionAlgorithm) Compression algorithm for message payload. The option will be converted to aorg.apache.iggy.topic.CompressionAlgorithmtype. Default: None Group: common- Parameters:
compressionAlgorithm- the value to set- Returns:
- the dsl builder
-
host
Iggy server hostname or IP address. The option is a:java.lang.Stringtype. Default: localhost Group: common- Parameters:
host- the value to set- Returns:
- the dsl builder
-
maxTopicSize
Maximum topic size in bytes (0 means unlimited). The option is a:java.lang.Longtype. Default: 0 Group: common- Parameters:
maxTopicSize- the value to set- Returns:
- the dsl builder
-
maxTopicSize
Maximum topic size in bytes (0 means unlimited). The option will be converted to ajava.lang.Longtype. Default: 0 Group: common- Parameters:
maxTopicSize- the value to set- Returns:
- the dsl builder
-
messageExpiry
Message expiry time in seconds (0 means no expiry). The option is a:java.lang.Longtype. Default: 0 Group: common- Parameters:
messageExpiry- the value to set- Returns:
- the dsl builder
-
messageExpiry
Message expiry time in seconds (0 means no expiry). The option will be converted to ajava.lang.Longtype. Default: 0 Group: common- Parameters:
messageExpiry- the value to set- Returns:
- the dsl builder
-
partitionsCount
default IggyEndpointBuilderFactory.IggyEndpointConsumerBuilder partitionsCount(Long partitionsCount) Number of partitions for the topic. The option is a:java.lang.Longtype. Default: 1 Group: common- Parameters:
partitionsCount- the value to set- Returns:
- the dsl builder
-
partitionsCount
default IggyEndpointBuilderFactory.IggyEndpointConsumerBuilder partitionsCount(String partitionsCount) Number of partitions for the topic. The option will be converted to ajava.lang.Longtype. Default: 1 Group: common- Parameters:
partitionsCount- the value to set- Returns:
- the dsl builder
-
password
Iggy password. The option is a:java.lang.Stringtype. Group: common- Parameters:
password- the value to set- Returns:
- the dsl builder
-
port
Iggy server port number. The option is a:inttype. Default: 8090 Group: common- Parameters:
port- the value to set- Returns:
- the dsl builder
-
port
Iggy server port number. The option will be converted to ainttype. Default: 8090 Group: common- Parameters:
port- the value to set- Returns:
- the dsl builder
-
replicationFactor
default IggyEndpointBuilderFactory.IggyEndpointConsumerBuilder replicationFactor(Short replicationFactor) Replication factor for the topic. The option is a:java.lang.Shorttype. Group: common- Parameters:
replicationFactor- the value to set- Returns:
- the dsl builder
-
replicationFactor
default IggyEndpointBuilderFactory.IggyEndpointConsumerBuilder replicationFactor(String replicationFactor) Replication factor for the topic. The option will be converted to ajava.lang.Shorttype. Group: common- Parameters:
replicationFactor- the value to set- Returns:
- the dsl builder
-
streamId
Stream identifier. The option is a:java.lang.Longtype. Group: common- Parameters:
streamId- the value to set- Returns:
- the dsl builder
-
streamId
Stream identifier. The option will be converted to ajava.lang.Longtype. Group: common- Parameters:
streamId- the value to set- Returns:
- the dsl builder
-
streamName
Stream name. The option is a:java.lang.Stringtype. Group: common- Parameters:
streamName- the value to set- Returns:
- the dsl builder
-
autoCommit
Controls message acknowledgment behavior. When true, messages are automatically marked as processed after consumption. When false, enables manual offset management and allows setting a custom starting offset position. The option is a:booleantype. Default: true Group: consumer- Parameters:
autoCommit- the value to set- Returns:
- the dsl builder
-
autoCommit
Controls message acknowledgment behavior. When true, messages are automatically marked as processed after consumption. When false, enables manual offset management and allows setting a custom starting offset position. The option will be converted to abooleantype. Default: true Group: consumer- Parameters:
autoCommit- the value to set- Returns:
- the dsl builder
-
consumerGroupName
default IggyEndpointBuilderFactory.IggyEndpointConsumerBuilder consumerGroupName(String consumerGroupName) The name of the consumer group. The option is a:java.lang.Stringtype. Group: consumer- Parameters:
consumerGroupName- the value to set- Returns:
- the dsl builder
-
consumersCount
Camel Iggy consumers count. The option is a:inttype. Default: 1 Group: consumer- Parameters:
consumersCount- the value to set- Returns:
- the dsl builder
-
consumersCount
default IggyEndpointBuilderFactory.IggyEndpointConsumerBuilder consumersCount(String consumersCount) Camel Iggy consumers count. The option will be converted to ainttype. Default: 1 Group: consumer- Parameters:
consumersCount- the value to set- Returns:
- the dsl builder
-
partitionId
The consumer partition id. The option is a:java.lang.Longtype. Group: consumer- Parameters:
partitionId- the value to set- Returns:
- the dsl builder
-
partitionId
The consumer partition id. The option will be converted to ajava.lang.Longtype. Group: consumer- Parameters:
partitionId- the value to set- Returns:
- the dsl builder
-
pollBatchSize
The consumer poll batch size. The option is a:java.lang.Longtype. Default: 10 Group: consumer- Parameters:
pollBatchSize- the value to set- Returns:
- the dsl builder
-
pollBatchSize
The consumer poll batch size. The option will be converted to ajava.lang.Longtype. Default: 10 Group: consumer- Parameters:
pollBatchSize- the value to set- Returns:
- the dsl builder
-
pollingStrategy
default IggyEndpointBuilderFactory.IggyEndpointConsumerBuilder pollingStrategy(String pollingStrategy) Polling strategy. The option is a:java.lang.Stringtype. Default: next Group: consumer- Parameters:
pollingStrategy- the value to set- Returns:
- the dsl builder
-
shutdownTimeout
Camel Iggy shutdown timeout. The option is a:inttype. Default: 30000 Group: consumer- Parameters:
shutdownTimeout- the value to set- Returns:
- the dsl builder
-
shutdownTimeout
default IggyEndpointBuilderFactory.IggyEndpointConsumerBuilder shutdownTimeout(String shutdownTimeout) Camel Iggy shutdown timeout. The option will be converted to ainttype. Default: 30000 Group: consumer- Parameters:
shutdownTimeout- the value to set- Returns:
- the dsl builder
-
startingOffset
Defines the initial message offset position when autoCommit is disabled. Use 0 to start from the beginning of the stream, or specify a custom offset to resume from a particular point. The option is a:java.lang.Longtype. Default: 0 Group: consumer- Parameters:
startingOffset- the value to set- Returns:
- the dsl builder
-
startingOffset
default IggyEndpointBuilderFactory.IggyEndpointConsumerBuilder startingOffset(String startingOffset) Defines the initial message offset position when autoCommit is disabled. Use 0 to start from the beginning of the stream, or specify a custom offset to resume from a particular point. The option will be converted to ajava.lang.Longtype. Default: 0 Group: consumer- Parameters:
startingOffset- the value to set- Returns:
- the dsl builder
-
username
Iggy username. The option is a:java.lang.Stringtype. Group: security- Parameters:
username- the value to set- Returns:
- the dsl builder
-