Class BaseVertxKafkaConfiguration
- java.lang.Object
-
- org.apache.camel.component.vertx.kafka.configuration.BaseVertxKafkaConfiguration
-
- All Implemented Interfaces:
org.apache.camel.spi.HeaderFilterStrategyAware
- Direct Known Subclasses:
VertxKafkaConfiguration
public abstract class BaseVertxKafkaConfiguration extends Object implements org.apache.camel.spi.HeaderFilterStrategyAware
-
-
Constructor Summary
Constructors Constructor Description BaseVertxKafkaConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.camel.spi.HeaderFilterStrategygetHeaderFilterStrategy()To use a custom HeaderFilterStrategy to filter header to and from Camel message.booleanisAllowManualCommit()Whether to allow doing manual commits viaVertxKafkaManualCommit.voidsetAllowManualCommit(boolean allowManualCommit)voidsetHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
-
-
-
Method Detail
-
getHeaderFilterStrategy
public org.apache.camel.spi.HeaderFilterStrategy getHeaderFilterStrategy()
To use a custom HeaderFilterStrategy to filter header to and from Camel message.- Specified by:
getHeaderFilterStrategyin interfaceorg.apache.camel.spi.HeaderFilterStrategyAware
-
setHeaderFilterStrategy
public void setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
- Specified by:
setHeaderFilterStrategyin interfaceorg.apache.camel.spi.HeaderFilterStrategyAware
-
isAllowManualCommit
public boolean isAllowManualCommit()
Whether to allow doing manual commits viaVertxKafkaManualCommit. If this option is enabled then an instance ofVertxKafkaManualCommitis stored on theExchangemessage header, which allows end users to access this API and perform manual offset commits via the Kafka consumer. Note: To take full control of the offset committing, you may need to disable the Kafka Consumer default auto commit behavior by setting 'enableAutoCommit' to 'false'.
-
setAllowManualCommit
public void setAllowManualCommit(boolean allowManualCommit)
-
-