クラス KafkaInboundGatewaySpec<K, V, R, S extends KafkaInboundGatewaySpec<K,V,R,S>>
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec <S、KafkaInboundGateway <K、V、R>>
org.springframework.integration.dsl.MessagingGatewaySpec <S、KafkaInboundGateway <K、V、R>>
org.springframework.integration.kafka.dsl.KafkaInboundGatewaySpec<K,V,R,S>
- 型パラメーター:
K
- 鍵の型。V
- リクエスト値型。R
- 応答値の型。S
- ターゲットKafkaInboundGatewaySpec
実装型。
- 実装されているすべてのインターフェース:
DisposableBean
、FactoryBean<KafkaInboundGateway<K,
、V, R>> InitializingBean
、Lifecycle
、Phased
、SmartLifecycle
、ComponentsRegistration
public class KafkaInboundGatewaySpec<K, V, R, S extends KafkaInboundGatewaySpec<K,V,R,S>>
extends MessagingGatewaySpec<S, KafkaInboundGateway<K,V,R>>
implements ComponentsRegistration
- 導入:
- 5.4
- 作成者:
- Gary Russell, Artem Bilan
ネストされたクラスの要約
ネストされたクラスフィールドのサマリー
クラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたフィールド
logger, PARSER, target
インターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTE
インターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASE
メソッドのサマリー
修飾子と型メソッド説明messageConverter
(org.springframework.kafka.support.converter.RecordMessageConverter messageConverter) レコードコンバーターを使用するようにメッセージコンバーターを設定します。onPartitionsAssignedSeekCallback
(BiConsumerSE<MapSE<org.apache.kafka.common.TopicPartition, LongSE>, org.springframework.kafka.listener.ConsumerSeekAware.ConsumerSeekCallback> onPartitionsAssignedCallback) シーク管理のためのBiConsumer
SE を指定します無効な参照
ConsumerSeekAware.ConsumerSeekCallback#onPartitionsAssigned(Map, ConsumerSeekAware.ConsumerSeekCallback)
KafkaMessageListenerContainer
からの呼び出し。recoveryCallback
(org.springframework.retry.RecoveryCallback<?> recoveryCallback) 再試行操作用のRecoveryCallback
インスタンス。null の場合、再試行が終了した後に例外がコンテナーにスローされます。retryTemplate
(org.springframework.retry.support.RetryTemplate retryTemplate) 配信の再試行に使用するRetryTemplate
インスタンスを指定します。クラス org.springframework.integration.dsl.MessagingGatewaySpec から継承されたメソッド
autoStartup, errorChannel, errorChannel, errorOnTimeout, id, observationConvention, phase, replyChannel, replyChannel, replyMapper, replyTimeout, requestChannel, requestChannel, requestMapper, requestTimeout, shouldTrack
クラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたメソッド
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.beans.factory.FactoryBean から継承されたメソッド
isSingleton
メソッドの詳細
messageConverter
public S messageConverter(org.springframework.kafka.support.converter.RecordMessageConverter messageConverter) レコードコンバーターを使用するようにメッセージコンバーターを設定します。- パラメーター:
messageConverter
- コンバーター。- 戻り値:
- スペック
retryTemplate
配信の再試行に使用するRetryTemplate
インスタンスを指定します。- パラメーター:
retryTemplate
- 使用するRetryTemplate
。- 戻り値:
- スペック
recoveryCallback
再試行操作用のRecoveryCallback
インスタンス。null の場合、再試行が終了した後に例外がコンテナーにスローされます。retryTemplate(RetryTemplate)
が指定されていない場合は意味がありません。- パラメーター:
recoveryCallback
- リカバリコールバック。- 戻り値:
- スペック
onPartitionsAssignedSeekCallback
public S onPartitionsAssignedSeekCallback(BiConsumerSE<MapSE<org.apache.kafka.common.TopicPartition, LongSE>, org.springframework.kafka.listener.ConsumerSeekAware.ConsumerSeekCallback> onPartitionsAssignedCallback) シーク管理のためのBiConsumer
SE を指定します無効な参照
ConsumerSeekAware.ConsumerSeekCallback#onPartitionsAssigned(Map, ConsumerSeekAware.ConsumerSeekCallback)
KafkaMessageListenerContainer
からの呼び出し。- パラメーター:
onPartitionsAssignedCallback
- 使用するBiConsumer
SE- 戻り値:
- スペック
getComponentsToRegister
- 次で指定:
- インターフェース
ComponentsRegistration
のgetComponentsToRegister