@ConfigurationProperties(prefix="topic")
public class TopicProperties
extends java.lang.Object
| Constructor and Description |
|---|
TopicProperties() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<pl.allegro.tech.hermes.api.ContentType> |
getAllowedContentTypes() |
java.util.Set<pl.allegro.tech.hermes.api.TopicLabel> |
getAllowedTopicLabels() |
int |
getMaxMessageSize() |
int |
getPartitions() |
int |
getReplicationFactor() |
int |
getSubscriptionsAssignmentsCompletedTimeoutSeconds() |
int |
getTouchDelayInSeconds() |
boolean |
isAllowRemoval() |
boolean |
isDefaultSchemaIdAwareSerializationEnabled() |
boolean |
isRemoveSchema() |
boolean |
isTouchSchedulerEnabled() |
boolean |
isUncleanLeaderElectionEnabled() |
void |
setAllowedContentTypes(java.util.List<pl.allegro.tech.hermes.api.ContentType> allowedContentTypes) |
void |
setAllowedTopicLabels(java.util.Set<pl.allegro.tech.hermes.api.TopicLabel> allowedTopicLabels) |
void |
setAllowRemoval(boolean allowRemoval) |
void |
setDefaultSchemaIdAwareSerializationEnabled(boolean defaultSchemaIdAwareSerializationEnabled) |
void |
setMaxMessageSize(int maxMessageSize) |
void |
setPartitions(int partitions) |
void |
setRemoveSchema(boolean removeSchema) |
void |
setReplicationFactor(int replicationFactor) |
void |
setSubscriptionsAssignmentsCompletedTimeoutSeconds(int subscriptionsAssignmentsCompletedTimeoutSeconds) |
void |
setTouchDelayInSeconds(int touchDelayInSeconds) |
void |
setTouchSchedulerEnabled(boolean touchSchedulerEnabled) |
void |
setUncleanLeaderElectionEnabled(boolean uncleanLeaderElectionEnabled) |
public int getReplicationFactor()
public void setReplicationFactor(int replicationFactor)
public int getPartitions()
public void setPartitions(int partitions)
public boolean isAllowRemoval()
public void setAllowRemoval(boolean allowRemoval)
public boolean isRemoveSchema()
public void setRemoveSchema(boolean removeSchema)
public java.util.List<pl.allegro.tech.hermes.api.ContentType> getAllowedContentTypes()
public void setAllowedContentTypes(java.util.List<pl.allegro.tech.hermes.api.ContentType> allowedContentTypes)
public java.util.Set<pl.allegro.tech.hermes.api.TopicLabel> getAllowedTopicLabels()
public void setAllowedTopicLabels(java.util.Set<pl.allegro.tech.hermes.api.TopicLabel> allowedTopicLabels)
public boolean isUncleanLeaderElectionEnabled()
public void setUncleanLeaderElectionEnabled(boolean uncleanLeaderElectionEnabled)
public int getTouchDelayInSeconds()
public void setTouchDelayInSeconds(int touchDelayInSeconds)
public boolean isTouchSchedulerEnabled()
public void setTouchSchedulerEnabled(boolean touchSchedulerEnabled)
public int getSubscriptionsAssignmentsCompletedTimeoutSeconds()
public void setSubscriptionsAssignmentsCompletedTimeoutSeconds(int subscriptionsAssignmentsCompletedTimeoutSeconds)
public int getMaxMessageSize()
public void setMaxMessageSize(int maxMessageSize)
public void setDefaultSchemaIdAwareSerializationEnabled(boolean defaultSchemaIdAwareSerializationEnabled)
public boolean isDefaultSchemaIdAwareSerializationEnabled()