public abstract class AbstractKafkaChannel
extends org.springframework.integration.channel.AbstractMessageChannel
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
topic |
interceptors, meters| Constructor and Description |
|---|
AbstractKafkaChannel(org.springframework.kafka.core.KafkaOperations<?,?> template,
java.lang.String topic)
Construct an instance with the provided paramters.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doSend(org.springframework.messaging.Message<?> message,
long timeout) |
protected java.lang.String |
getGroupId() |
void |
setGroupId(java.lang.String groupId)
Set the group id for the consumer; if not set, the bean name will be used.
|
addInterceptor, addInterceptor, destroy, getComponentType, getFullChannelName, getIChannelInterceptorList, getIntegrationPatternType, getInterceptors, getMetricsCaptor, getOverrides, isLoggingEnabled, onInit, registerMetricsCaptor, removeInterceptor, removeInterceptor, send, send, setDatatypes, setInterceptors, setLoggingEnabled, setMessageConverter, setShouldTrackafterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic AbstractKafkaChannel(org.springframework.kafka.core.KafkaOperations<?,?> template,
java.lang.String topic)
template - the template.topic - the topic.public void setGroupId(java.lang.String groupId)
groupId - the group id.protected java.lang.String getGroupId()
protected boolean doSend(org.springframework.messaging.Message<?> message,
long timeout)
doSend in class org.springframework.integration.channel.AbstractMessageChannel