Class DataProducer<T extends DataTopic>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean registerSchema
      If true, register the schema during kafka initialization, otherwise, the producer should do that itself.
    • Constructor Summary

      Constructors 
      Constructor Description
      DataProducer()  
    • Field Detail

      • registerSchema

        protected boolean registerSchema
        If true, register the schema during kafka initialization, otherwise, the producer should do that itself. The default is true, set in the constructor of subclasses to use a different default.
    • Constructor Detail

      • DataProducer

        public DataProducer()
    • Method Detail

      • getName

        public java.lang.String getName()
      • getDoc

        public java.lang.String getDoc()
      • getData

        @NotNull
        public abstract @NotNull java.util.List<T> getData()
      • getScope

        @NotNull
        public abstract @NotNull org.radarbase.schema.Scope getScope()
      • getLabels

        public java.util.List<java.lang.String> getLabels()
      • getProperties

        public java.util.Map<java.lang.String,​java.lang.String> getProperties()
      • getTopicNames

        public java.util.stream.Stream<java.lang.String> getTopicNames()
      • getTopics

        public java.util.stream.Stream<org.radarbase.topic.AvroTopic<?,​?>> getTopics​(SchemaCatalogue schemaCatalogue)
      • doRegisterSchema

        public boolean doRegisterSchema()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object