Uses of Class
org.springframework.integration.kafka.dsl.KafkaInboundChannelAdapterSpec
Packages that use KafkaInboundChannelAdapterSpec
Package
Description
Provides Spring Integration Java DSL Components support for Apache Kafka.
-
Uses of KafkaInboundChannelAdapterSpec in org.springframework.integration.kafka.dsl
Subclasses with type arguments of type KafkaInboundChannelAdapterSpec in org.springframework.integration.kafka.dslModifier and TypeClassDescriptionclassSpec for a polled Apache Kafka inbound channel adapter.Methods in org.springframework.integration.kafka.dsl that return KafkaInboundChannelAdapterSpecModifier and TypeMethodDescriptionstatic <K,V> KafkaInboundChannelAdapterSpec <K, V> Kafka.inboundChannelAdapter(org.springframework.kafka.core.ConsumerFactory<K, V> consumerFactory, org.springframework.kafka.listener.ConsumerProperties consumerProperties) Create an initialKafkaInboundChannelAdapterSpecwith the consumer factory and topics.static <K,V> KafkaInboundChannelAdapterSpec <K, V> Kafka.inboundChannelAdapter(org.springframework.kafka.core.ConsumerFactory<K, V> consumerFactory, org.springframework.kafka.listener.ConsumerProperties consumerProperties, boolean allowMultiFetch) Create an initialKafkaInboundChannelAdapterSpecwith the consumer factory and topics.static <K,V> KafkaInboundChannelAdapterSpec <K, V> Kafka.inboundChannelAdapter(org.springframework.kafka.core.ConsumerFactory<K, V> consumerFactory, org.springframework.kafka.listener.ConsumerProperties consumerProperties, KafkaMessageSource.KafkaAckCallbackFactory<K, V> ackCallbackFactory) Create an initialKafkaInboundChannelAdapterSpecwith the consumer factory and topics with a custom ack callback factory.static <K,V> KafkaInboundChannelAdapterSpec <K, V> Kafka.inboundChannelAdapter(org.springframework.kafka.core.ConsumerFactory<K, V> consumerFactory, org.springframework.kafka.listener.ConsumerProperties consumerProperties, KafkaMessageSource.KafkaAckCallbackFactory<K, V> ackCallbackFactory, boolean allowMultiFetch) Create an initialKafkaInboundChannelAdapterSpecwith the consumer factory and topics with a custom ack callback factory.KafkaInboundChannelAdapterSpec.messageConverter(org.springframework.kafka.support.converter.RecordMessageConverter messageConverter) Set the message converter to replace the default.KafkaInboundChannelAdapterSpec.payloadType(Class<?> type) Set the payload type.KafkaInboundChannelAdapterSpec.rawMessageHeader(boolean rawMessageHeader) Set to true to include the rawConsumerRecordas headers with keysKafkaHeaders.RAW_DATAandIntegrationMessageHeaderAccessor.SOURCE_DATA.