Class KafkaTopic.KafkaTopicBuilder<C extends KafkaTopic,B extends KafkaTopic.KafkaTopicBuilder<C,B>>

Enclosing class:
KafkaTopic

public abstract static class KafkaTopic.KafkaTopicBuilder<C extends KafkaTopic,B extends KafkaTopic.KafkaTopicBuilder<C,B>> extends Asset.AssetBuilder<C,B>
  • Constructor Details

    • KafkaTopicBuilder

      public KafkaTopicBuilder()
  • Method Details

    • $fillValuesFrom

      protected B $fillValuesFrom(C instance)
      Overrides:
      $fillValuesFrom in class Asset.AssetBuilder<C extends KafkaTopic,B extends KafkaTopic.KafkaTopicBuilder<C,B>>
    • typeName

      public B typeName(String typeName)
      Fixed typeName for KafkaTopics.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends KafkaTopic,B extends KafkaTopic.KafkaTopicBuilder<C,B>>
      Returns:
      this.
    • applicationContainer

      public B applicationContainer(IApplicationContainer applicationContainer)
      ApplicationContainer asset containing this Catalog asset.
      Returns:
      this.
    • assetApplicationQualifiedName

      public B assetApplicationQualifiedName(String assetApplicationQualifiedName)
      Qualified name of the Application Container that contains this asset.
      Returns:
      this.
    • inputToAirflowTask

      public B inputToAirflowTask(IAirflowTask inputToAirflowTask)
    • inputToAirflowTasks

      public B inputToAirflowTasks(Collection<? extends IAirflowTask> inputToAirflowTasks)
    • clearInputToAirflowTasks

      public B clearInputToAirflowTasks()
    • inputToProcess

      public B inputToProcess(ILineageProcess inputToProcess)
    • inputToProcesses

      public B inputToProcesses(Collection<? extends ILineageProcess> inputToProcesses)
    • clearInputToProcesses

      public B clearInputToProcesses()
    • inputToSparkJob

      public B inputToSparkJob(ISparkJob inputToSparkJob)
    • inputToSparkJobs

      public B inputToSparkJobs(Collection<? extends ISparkJob> inputToSparkJobs)
    • clearInputToSparkJobs

      public B clearInputToSparkJobs()
    • kafkaConsumerGroup

      public B kafkaConsumerGroup(IKafkaConsumerGroup kafkaConsumerGroup)
    • kafkaConsumerGroups

      public B kafkaConsumerGroups(Collection<? extends IKafkaConsumerGroup> kafkaConsumerGroups)
    • clearKafkaConsumerGroups

      public B clearKafkaConsumerGroups()
    • kafkaTopicCleanupPolicy

      public B kafkaTopicCleanupPolicy(KafkaTopicCleanupPolicy kafkaTopicCleanupPolicy)
      Cleanup policy for this topic.
      Returns:
      this.
    • kafkaTopicCompressionType

      public B kafkaTopicCompressionType(KafkaTopicCompressionType kafkaTopicCompressionType)
      Type of compression used for this topic.
      Returns:
      this.
    • kafkaTopicIsInternal

      public B kafkaTopicIsInternal(Boolean kafkaTopicIsInternal)
      Whether this topic is an internal topic (true) or not (false).
      Returns:
      this.
    • kafkaTopicLogCleanupPolicy

      public B kafkaTopicLogCleanupPolicy(String kafkaTopicLogCleanupPolicy)
      Comma seperated Cleanup policy for this topic.
      Returns:
      this.
    • kafkaTopicPartitionsCount

      public B kafkaTopicPartitionsCount(Long kafkaTopicPartitionsCount)
      Number of partitions for this topic.
      Returns:
      this.
    • kafkaTopicRecordCount

      public B kafkaTopicRecordCount(Long kafkaTopicRecordCount)
      Number of (unexpired) messages in this topic.
      Returns:
      this.
    • kafkaTopicReplicationFactor

      public B kafkaTopicReplicationFactor(Long kafkaTopicReplicationFactor)
      Replication factor for this topic.
      Returns:
      this.
    • kafkaTopicRetentionTimeInMs

      public B kafkaTopicRetentionTimeInMs(Long kafkaTopicRetentionTimeInMs)
      Amount of time messages will be retained in this topic, in milliseconds.
      Returns:
      this.
    • kafkaTopicSegmentBytes

      public B kafkaTopicSegmentBytes(Long kafkaTopicSegmentBytes)
      Segment size for this topic.
      Returns:
      this.
    • kafkaTopicSizeInBytes

      public B kafkaTopicSizeInBytes(Long kafkaTopicSizeInBytes)
      Size of this topic, in bytes.
      Returns:
      this.
    • modelImplementedEntity

      public B modelImplementedEntity(IModelEntity modelImplementedEntity)
    • modelImplementedEntities

      public B modelImplementedEntities(Collection<? extends IModelEntity> modelImplementedEntities)
    • clearModelImplementedEntities

      public B clearModelImplementedEntities()
    • outputFromAirflowTask

      public B outputFromAirflowTask(IAirflowTask outputFromAirflowTask)
    • outputFromAirflowTasks

      public B outputFromAirflowTasks(Collection<? extends IAirflowTask> outputFromAirflowTasks)
    • clearOutputFromAirflowTasks

      public B clearOutputFromAirflowTasks()
    • outputFromProcess

      public B outputFromProcess(ILineageProcess outputFromProcess)
    • outputFromProcesses

      public B outputFromProcesses(Collection<? extends ILineageProcess> outputFromProcesses)
    • clearOutputFromProcesses

      public B clearOutputFromProcesses()
    • outputFromSparkJob

      public B outputFromSparkJob(ISparkJob outputFromSparkJob)
    • outputFromSparkJobs

      public B outputFromSparkJobs(Collection<? extends ISparkJob> outputFromSparkJobs)
    • clearOutputFromSparkJobs

      public B clearOutputFromSparkJobs()
    • self

      protected abstract B self()
      Specified by:
      self in class Asset.AssetBuilder<C extends KafkaTopic,B extends KafkaTopic.KafkaTopicBuilder<C,B>>
    • build

      public abstract C build()
      Specified by:
      build in class Asset.AssetBuilder<C extends KafkaTopic,B extends KafkaTopic.KafkaTopicBuilder<C,B>>
    • toString

      public String toString()
      Overrides:
      toString in class Asset.AssetBuilder<C extends KafkaTopic,B extends KafkaTopic.KafkaTopicBuilder<C,B>>