クラス 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) KafkaMessageListenerContainerからのConsumerSeekAware.onPartitionsAssigned(Map, ConsumerSeekAware.ConsumerSeekCallback)呼び出し中にシーク管理用のBiConsumerSE を指定します。recoveryCallback(RecoveryCallback<?> recoveryCallback) 再試行操作用のRecoveryCallbackインスタンス。null の場合、再試行が何回も実行された後にコンテナーに例外がスローされます。retryTemplate(RetryTemplate retryTemplate) Specify aRetryTemplateinstance to use for retrying deliveries.クラス 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インターフェース org.springframework.context.SmartLifecycle から継承されたメソッド
isPauseable
メソッドの詳細
messageConverter
public S messageConverter(org.springframework.kafka.support.converter.RecordMessageConverter messageConverter) レコードコンバーターを使用するようにメッセージコンバーターを設定します。- パラメーター:
messageConverter- コンバーター。- 戻り値:
- スペック
retryTemplate
Specify aRetryTemplateinstance to use for retrying deliveries.- パラメーター:
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) KafkaMessageListenerContainerからのConsumerSeekAware.onPartitionsAssigned(Map, ConsumerSeekAware.ConsumerSeekCallback)呼び出し中にシーク管理用のBiConsumerSE を指定します。- パラメーター:
onPartitionsAssignedCallback- 使用するBiConsumerSE- 戻り値:
- スペック
getComponentsToRegister
- 次で指定:
- インターフェース
ComponentsRegistrationのgetComponentsToRegister