Class AbstractKafkaChannelSpec<S extends AbstractKafkaChannelSpec<S,C>,C extends AbstractKafkaChannel>
java.lang.Object
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.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 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
-
Method Summary
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, get, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Field Details
-
groupId
-
-
Constructor Details
-
AbstractKafkaChannelSpec
public AbstractKafkaChannelSpec()
-
-
Method Details
-
id
- Overrides:
id
in 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.
-