Class ProducerProperties
java.lang.Object
org.springframework.cloud.stream.binder.ProducerProperties
- Direct Known Subclasses:
ExtendedProducerProperties
Common producer properties.
- Author:
- Marius Bogoevici, Ilayaperumal Gopinathan, Gary Russell, Oleg Zhurakousky
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
org.springframework.expression.Expression
org.springframework.expression.Expression
String[]
boolean
boolean
boolean
boolean
boolean
boolean
void
populateBindingName
(String bindingName) This method is not intended as a configuration property to set by the applications.void
setAutoStartup
(boolean autoStartup) void
setErrorChannelEnabled
(boolean errorChannelEnabled) void
setHeaderMode
(HeaderMode headerMode) void
setPartitionCount
(int partitionCount) void
setPartitionKeyExpression
(org.springframework.expression.Expression partitionKeyExpression) void
setPartitionKeyExtractorName
(String partitionKeyExtractorName) void
setPartitionSelectorExpression
(org.springframework.expression.Expression partitionSelectorExpression) void
setPartitionSelectorName
(String partitionSelectorName) void
void
setRequiredGroups
(String... requiredGroups) void
setUseNativeEncoding
(boolean useNativeEncoding)
-
Constructor Details
-
ProducerProperties
public ProducerProperties()
-
-
Method Details
-
getBindingName
-
populateBindingName
This method is not intended as a configuration property to set by the applications. Therefore, we are not providing a proper setter method for this.- Parameters:
bindingName
- binding name populated by the framework.
-
getPartitionKeyExpression
public org.springframework.expression.Expression getPartitionKeyExpression() -
setPartitionKeyExpression
public void setPartitionKeyExpression(org.springframework.expression.Expression partitionKeyExpression) -
isPartitioned
public boolean isPartitioned() -
getPartitionSelectorExpression
public org.springframework.expression.Expression getPartitionSelectorExpression() -
setPartitionSelectorExpression
public void setPartitionSelectorExpression(org.springframework.expression.Expression partitionSelectorExpression) -
getPartitionCount
public int getPartitionCount() -
setPartitionCount
public void setPartitionCount(int partitionCount) -
getRequiredGroups
-
setRequiredGroups
-
isValidPartitionKeyProperty
public boolean isValidPartitionKeyProperty() -
isValidPartitionSelectorProperty
public boolean isValidPartitionSelectorProperty() -
getHeaderMode
-
setHeaderMode
-
isUseNativeEncoding
public boolean isUseNativeEncoding() -
setUseNativeEncoding
public void setUseNativeEncoding(boolean useNativeEncoding) -
isErrorChannelEnabled
public boolean isErrorChannelEnabled() -
setErrorChannelEnabled
public void setErrorChannelEnabled(boolean errorChannelEnabled) -
getPartitionKeyExtractorName
-
setPartitionKeyExtractorName
-
getPartitionSelectorName
-
setPartitionSelectorName
-
isAutoStartup
public boolean isAutoStartup() -
setAutoStartup
public void setAutoStartup(boolean autoStartup) -
getPoller
-
setPoller
-