Class TopicProperties
java.lang.Object
pl.allegro.tech.hermes.management.config.TopicProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<pl.allegro.tech.hermes.api.ContentType>Set<pl.allegro.tech.hermes.api.TopicLabel>intintintintintbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAllowedContentTypes(List<pl.allegro.tech.hermes.api.ContentType> allowedContentTypes) voidsetAllowedTopicLabels(Set<pl.allegro.tech.hermes.api.TopicLabel> allowedTopicLabels) voidsetAllowRemoval(boolean allowRemoval) voidsetAvroContentTypeMetadataRequired(boolean avroContentTypeMetadataRequired) voidsetDefaultSchemaIdAwareSerializationEnabled(boolean defaultSchemaIdAwareSerializationEnabled) voidsetMaxMessageSize(int maxMessageSize) voidsetPartitions(int partitions) voidsetRemoveSchema(boolean removeSchema) voidsetReplicationFactor(int replicationFactor) voidsetSubscriptionsAssignmentsCompletedTimeoutSeconds(int subscriptionsAssignmentsCompletedTimeoutSeconds) voidsetTouchDelayInSeconds(int touchDelayInSeconds) voidsetTouchSchedulerEnabled(boolean touchSchedulerEnabled) voidsetUncleanLeaderElectionEnabled(boolean uncleanLeaderElectionEnabled)
-
Constructor Details
-
TopicProperties
public TopicProperties()
-
-
Method Details
-
getReplicationFactor
public int getReplicationFactor() -
setReplicationFactor
public void setReplicationFactor(int replicationFactor) -
getPartitions
public int getPartitions() -
setPartitions
public void setPartitions(int partitions) -
isAllowRemoval
public boolean isAllowRemoval() -
setAllowRemoval
public void setAllowRemoval(boolean allowRemoval) -
isRemoveSchema
public boolean isRemoveSchema() -
setRemoveSchema
public void setRemoveSchema(boolean removeSchema) -
getAllowedContentTypes
-
setAllowedContentTypes
public void setAllowedContentTypes(List<pl.allegro.tech.hermes.api.ContentType> allowedContentTypes) -
getAllowedTopicLabels
-
setAllowedTopicLabels
-
isUncleanLeaderElectionEnabled
public boolean isUncleanLeaderElectionEnabled() -
setUncleanLeaderElectionEnabled
public void setUncleanLeaderElectionEnabled(boolean uncleanLeaderElectionEnabled) -
getTouchDelayInSeconds
public int getTouchDelayInSeconds() -
setTouchDelayInSeconds
public void setTouchDelayInSeconds(int touchDelayInSeconds) -
isTouchSchedulerEnabled
public boolean isTouchSchedulerEnabled() -
setTouchSchedulerEnabled
public void setTouchSchedulerEnabled(boolean touchSchedulerEnabled) -
getSubscriptionsAssignmentsCompletedTimeoutSeconds
public int getSubscriptionsAssignmentsCompletedTimeoutSeconds() -
setSubscriptionsAssignmentsCompletedTimeoutSeconds
public void setSubscriptionsAssignmentsCompletedTimeoutSeconds(int subscriptionsAssignmentsCompletedTimeoutSeconds) -
getMaxMessageSize
public int getMaxMessageSize() -
setMaxMessageSize
public void setMaxMessageSize(int maxMessageSize) -
isDefaultSchemaIdAwareSerializationEnabled
public boolean isDefaultSchemaIdAwareSerializationEnabled() -
setDefaultSchemaIdAwareSerializationEnabled
public void setDefaultSchemaIdAwareSerializationEnabled(boolean defaultSchemaIdAwareSerializationEnabled) -
isAvroContentTypeMetadataRequired
public boolean isAvroContentTypeMetadataRequired() -
setAvroContentTypeMetadataRequired
public void setAvroContentTypeMetadataRequired(boolean avroContentTypeMetadataRequired)
-