Class TopicProperties

java.lang.Object
pl.allegro.tech.hermes.management.config.TopicProperties

@ConfigurationProperties(prefix="topic") public class TopicProperties extends Object
  • 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

      public List<pl.allegro.tech.hermes.api.ContentType> getAllowedContentTypes()
    • setAllowedContentTypes

      public void setAllowedContentTypes(List<pl.allegro.tech.hermes.api.ContentType> allowedContentTypes)
    • getAllowedTopicLabels

      public Set<pl.allegro.tech.hermes.api.TopicLabel> getAllowedTopicLabels()
    • setAllowedTopicLabels

      public void setAllowedTopicLabels(Set<pl.allegro.tech.hermes.api.TopicLabel> allowedTopicLabels)
    • 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)