Interface IggyEndpointBuilderFactory.IggyEndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
IggyEndpointBuilderFactory.IggyEndpointBuilder
- Enclosing interface:
IggyEndpointBuilderFactory
public static interface IggyEndpointBuilderFactory.IggyEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the Iggy component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()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.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).partitioning(String partitioning) Partitioning strategy for message distribution.partitioning(org.apache.iggy.message.Partitioning partitioning) Partitioning strategy for message distribution.partitionsCount(Long partitionsCount) Number of partitions for the topic.partitionsCount(String partitionsCount) Number of partitions for the topic.Iggy password.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.Stream identifier.Stream identifier.streamName(String streamName) Stream name.Iggy username.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
autoCreateStream
default IggyEndpointBuilderFactory.IggyEndpointProducerBuilder 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.IggyEndpointProducerBuilder 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.IggyEndpointProducerBuilder 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.IggyEndpointProducerBuilder 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.IggyEndpointProducerBuilder 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.IggyEndpointProducerBuilder 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.IggyEndpointProducerBuilder 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.IggyEndpointProducerBuilder 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.IggyEndpointProducerBuilder 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.IggyEndpointProducerBuilder 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.IggyEndpointProducerBuilder 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
-
partitioning
default IggyEndpointBuilderFactory.IggyEndpointProducerBuilder partitioning(org.apache.iggy.message.Partitioning partitioning) Partitioning strategy for message distribution. The option is a:org.apache.iggy.message.Partitioningtype. Default: balanced Group: producer- Parameters:
partitioning- the value to set- Returns:
- the dsl builder
-
partitioning
Partitioning strategy for message distribution. The option will be converted to aorg.apache.iggy.message.Partitioningtype. Default: balanced Group: producer- Parameters:
partitioning- 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
-