Class TopicProperties


  • @ConfigurationProperties(prefix="topic")
    public class TopicProperties
    extends java.lang.Object
    • Constructor Detail

      • TopicProperties

        public TopicProperties()
    • Method Detail

      • 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 java.util.List<pl.allegro.tech.hermes.api.ContentType> getAllowedContentTypes()
      • setAllowedContentTypes

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

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

        public void setAllowedTopicLabels​(java.util.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)
      • setDefaultSchemaIdAwareSerializationEnabled

        public void setDefaultSchemaIdAwareSerializationEnabled​(boolean defaultSchemaIdAwareSerializationEnabled)
      • isDefaultSchemaIdAwareSerializationEnabled

        public boolean isDefaultSchemaIdAwareSerializationEnabled()
      • isAvroContentTypeMetadataRequired

        public boolean isAvroContentTypeMetadataRequired()
      • setAvroContentTypeMetadataRequired

        public void setAvroContentTypeMetadataRequired​(boolean avroContentTypeMetadataRequired)