Class AbstractKafkaChannelSpec<S extends AbstractKafkaChannelSpec<S,C>,C extends AbstractKafkaChannel>
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,C>
org.springframework.integration.dsl.MessageChannelSpec<S,C>
org.springframework.integration.kafka.dsl.AbstractKafkaChannelSpec<S,C>
- Type Parameters:
 S- the spec type.C- the channel type.
- All Implemented Interfaces:
 org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<C>,org.springframework.beans.factory.InitializingBean,org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle,org.springframework.integration.dsl.ComponentsRegistration
- Direct Known Subclasses:
 KafkaPollableChannelSpec,KafkaSubscribableChannelSpec
public abstract class AbstractKafkaChannelSpec<S extends AbstractKafkaChannelSpec<S,C>,C extends AbstractKafkaChannel>
extends org.springframework.integration.dsl.MessageChannelSpec<S,C>
Spec for a message channel backed by an Apache Kafka topic.
- Since:
 - 5.4
 
- 
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringgroupId - 
Constructor Summary
Constructors Constructor Description AbstractKafkaChannelSpec() - 
Method Summary
Methods inherited from class org.springframework.integration.dsl.MessageChannelSpec
datatype, doGet, getComponentsToRegister, interceptor, messageConverter, wireTap, wireTap, wireTapMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop 
- 
Field Details
- 
groupId
protected java.lang.String groupId 
 - 
 - 
Constructor Details
- 
AbstractKafkaChannelSpec
public AbstractKafkaChannelSpec() 
 - 
 - 
Method Details
- 
id
- Overrides:
 idin classorg.springframework.integration.dsl.IntegrationComponentSpec<S extends AbstractKafkaChannelSpec<S,C>,C extends AbstractKafkaChannel>
 - 
groupId
Set the group id to use on the consumer side.- Parameters:
 group- the group id.- Returns:
 - the spec.
 
 
 -