Class KafkaPublishSubscribeChannelSpec

All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<PublishSubscribeKafkaChannel>, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle, org.springframework.integration.dsl.ComponentsRegistration

public class KafkaPublishSubscribeChannelSpec extends KafkaSubscribableChannelSpec<PublishSubscribeKafkaChannel>
Spec for a publish/subscribe channel backed by an Apache Kafka topic.
Since:
5.4
  • Field Summary

    Fields inherited from class AbstractKafkaChannelSpec

    groupId

    Fields inherited from class org.springframework.integration.dsl.MessageChannelSpec

    channel

    Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec

    logger, PARSER, target

    Fields inherited from interface org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE

    Fields inherited from interface org.springframework.context.SmartLifecycle

    DEFAULT_PHASE
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    KafkaPublishSubscribeChannelSpec(org.springframework.kafka.core.KafkaTemplate<?,?> template, org.springframework.kafka.config.KafkaListenerContainerFactory<?> factory, String topic)
     
  • Method Summary

    Methods inherited from class AbstractKafkaChannelSpec

    groupId, id

    Methods inherited from class org.springframework.integration.dsl.MessageChannelSpec

    datatype, doGet, getComponentsToRegister, interceptor, messageConverter, wireTap, wireTap, wireTap

    Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec

    _this, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.beans.factory.FactoryBean

    isSingleton

    Methods inherited from interface org.springframework.context.SmartLifecycle

    isPauseable, pause, restart
  • Constructor Details

    • KafkaPublishSubscribeChannelSpec

      protected KafkaPublishSubscribeChannelSpec(org.springframework.kafka.core.KafkaTemplate<?,?> template, org.springframework.kafka.config.KafkaListenerContainerFactory<?> factory, String topic)