Class SubscribableKafkaChannel

All Implemented Interfaces:
Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, ApplicationContextAware, Lifecycle, Phased, SmartLifecycle, ExpressionCapable, IntegrationPattern, NamedComponent, IntegrationManagement, ManageableLifecycle, ManageableSmartLifecycle, TrackableComponent, MessageChannel, SubscribableChannel, InterceptableChannel
Direct Known Subclasses:
PublishSubscribeKafkaChannel

public class SubscribableKafkaChannel extends AbstractKafkaChannel implements SubscribableChannel, ManageableSmartLifecycle
Subscribable channel backed by an Apache Kafka topic.
Since:
5.4
Author:
Gary Russell, Artem Bilan
  • Constructor Details

    • SubscribableKafkaChannel

      public SubscribableKafkaChannel(org.springframework.kafka.core.KafkaOperations<?,?> template, org.springframework.kafka.config.KafkaListenerContainerFactory<?> factory, String channelTopic)
      Construct an instance with the provided parameters.
      Parameters:
      template - template for sending.
      factory - factory for creating a container for receiving.
      channelTopic - the topic.
  • Method Details