K - 鍵の型。V - リクエスト値型。R - 応答値の型。S - ターゲット KafkaInboundGatewaySpec 実装型。public class KafkaInboundGatewaySpec<K,V,R,S extends KafkaInboundGatewaySpec<K,V,R,S>> extends MessagingGatewaySpec<S,KafkaInboundGateway<K,V,R>> implements ComponentsRegistration
| 修飾子と型 | クラスと説明 |
|---|---|
static class | KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K, V, R>ConcurrentMessageListenerContainer 構成の KafkaInboundGatewaySpec 拡張。 |
PARSER, targetloggerDEFAULT_PHASEOBJECT_TYPE_ATTRIBUTE| 修飾子と型 | メソッドと説明 |
|---|---|
MapSE<ObjectSE, StringSE> | getComponentsToRegister() |
S | messageConverter(org.springframework.kafka.support.converter.RecordMessageConverter messageConverter) レコードコンバーターを使用するようにメッセージコンバーターを設定します。 |
S | onPartitionsAssignedSeekCallback(java.util.function.BiConsumerSE<MapSE<org.apache.kafka.common.TopicPartition,LongSE>,org.springframework.kafka.listener.ConsumerSeekAware.ConsumerSeekCallback> onPartitionsAssignedCallback)KafkaMessageListenerContainer からの ConsumerSeekAware.ConsumerSeekCallback#onPartitionsAssigned(Map, ConsumerSeekAware.ConsumerSeekCallback) 呼び出し中にシーク管理用の BiConsumerSE を指定します。 |
S | recoveryCallback(org.springframework.retry.RecoveryCallback<? extends ObjectSE> recoveryCallback) 再試行操作用の RecoveryCallback インスタンス。null の場合、再試行が終了した後に例外がコンテナーにスローされます。 |
S | retryTemplate(org.springframework.retry.support.RetryTemplate retryTemplate)KafkaInboundGateway.IntegrationRecordMessageListener を RetryingMessageListenerAdapter にラップする RetryTemplate インスタンスを指定します。 |
autoStartup, errorChannel, errorChannel, errorOnTimeout, id, phase, replyChannel, replyChannel, replyMapper, replyTimeout, requestChannel, requestChannel, requestMapper, requestTimeout, shouldTrack_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopafterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingletoncloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic S messageConverter(org.springframework.kafka.support.converter.RecordMessageConverter messageConverter)
messageConverter - コンバーター。public S retryTemplate(org.springframework.retry.support.RetryTemplate retryTemplate)
KafkaInboundGateway.IntegrationRecordMessageListener を RetryingMessageListenerAdapter にラップする RetryTemplate インスタンスを指定します。retryTemplate - 使用する RetryTemplate。public S recoveryCallback(org.springframework.retry.RecoveryCallback<? extends ObjectSE> recoveryCallback)
RecoveryCallback インスタンス。null の場合、再試行が終了した後に例外がコンテナーにスローされます。retryTemplate(RetryTemplate) が指定されていない場合は意味がありません。recoveryCallback - リカバリコールバック。public S onPartitionsAssignedSeekCallback(java.util.function.BiConsumerSE<MapSE<org.apache.kafka.common.TopicPartition,LongSE>,org.springframework.kafka.listener.ConsumerSeekAware.ConsumerSeekCallback> onPartitionsAssignedCallback)
KafkaMessageListenerContainer からの ConsumerSeekAware.ConsumerSeekCallback#onPartitionsAssigned(Map, ConsumerSeekAware.ConsumerSeekCallback) 呼び出し中にシーク管理用の BiConsumerSE を指定します。onPartitionsAssignedCallback - 使用する BiConsumerSEpublic MapSE<ObjectSE,StringSE> getComponentsToRegister()
ComponentsRegistration の getComponentsToRegister