Class KafkaConfig

    • Constructor Detail

      • KafkaConfig

        public KafkaConfig​(java.lang.String topicName,
                           java.lang.String messageKey,
                           java.util.Properties properties)
    • Method Detail

      • mergeWithNonNull

        public KafkaConfig mergeWithNonNull​(KafkaConfig other)
        Description copied from interface: MergeConfig
        Method to create new config class based on current instance and non-null argument value. In most cases, implementation needs to create a new instance of T, while merging all the properties.
        Specified by:
        mergeWithNonNull in interface MergeConfig<KafkaConfig>
        Parameters:
        other - overwrite value
        Returns:
        merged config entry
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getTopicName

        public java.lang.String getTopicName()
      • setTopicName

        public void setTopicName​(java.lang.String topicName)
      • getMessageKey

        public java.lang.String getMessageKey()
      • setMessageKey

        public void setMessageKey​(java.lang.String messageKey)
      • getProperties

        public java.util.Properties getProperties()
      • setProperties

        public void setProperties​(java.util.Properties properties)