Record Class OdysseyFlowRecords.KafkaResult

java.lang.Object
java.lang.Record
io.confluent.kafka.odyssey.OdysseyFlowRecords.KafkaResult
Enclosing class:
OdysseyFlowRecords

public static record OdysseyFlowRecords.KafkaResult(OdysseyFlowRecords.ValidationResult validated, org.apache.kafka.common.message.CreateTopicsRequestData topicsWithAssociationConfigs, org.apache.kafka.common.message.CreateTopicsResponseData kafkaResponse, List<TopicAssociationInfo> successfulTopics, List<TopicAssociationInfo> retryTopics) extends Record
  • Constructor Details

    • KafkaResult

      public KafkaResult(OdysseyFlowRecords.ValidationResult validated, org.apache.kafka.common.message.CreateTopicsRequestData topicsWithAssociationConfigs, org.apache.kafka.common.message.CreateTopicsResponseData kafkaResponse, List<TopicAssociationInfo> successfulTopics, List<TopicAssociationInfo> retryTopics)
      Creates an instance of a KafkaResult record class.
      Parameters:
      validated - the value for the validated record component
      topicsWithAssociationConfigs - the value for the topicsWithAssociationConfigs record component
      kafkaResponse - the value for the kafkaResponse record component
      successfulTopics - the value for the successfulTopics record component
      retryTopics - the value for the retryTopics record component
  • Method Details

    • request

    • validationFailures

      public Map<String, OdysseyResult> validationFailures()
    • namespace

      public String namespace()
    • srClient

      public io.confluent.kafka.schemaregistry.client.SchemaRegistryClient srClient()
    • isValidateOnly

      public boolean isValidateOnly()
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • validated

      Returns the value of the validated record component.
      Returns:
      the value of the validated record component
    • topicsWithAssociationConfigs

      public org.apache.kafka.common.message.CreateTopicsRequestData topicsWithAssociationConfigs()
      Returns the value of the topicsWithAssociationConfigs record component.
      Returns:
      the value of the topicsWithAssociationConfigs record component
    • kafkaResponse

      public org.apache.kafka.common.message.CreateTopicsResponseData kafkaResponse()
      Returns the value of the kafkaResponse record component.
      Returns:
      the value of the kafkaResponse record component
    • successfulTopics

      public List<TopicAssociationInfo> successfulTopics()
      Returns the value of the successfulTopics record component.
      Returns:
      the value of the successfulTopics record component
    • retryTopics

      public List<TopicAssociationInfo> retryTopics()
      Returns the value of the retryTopics record component.
      Returns:
      the value of the retryTopics record component