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 Summary
ConstructorsConstructorDescriptionKafkaResult(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 aKafkaResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanorg.apache.kafka.common.message.CreateTopicsResponseDataReturns the value of thekafkaResponserecord component.request()Returns the value of theretryTopicsrecord component.io.confluent.kafka.schemaregistry.client.SchemaRegistryClientsrClient()Returns the value of thesuccessfulTopicsrecord component.org.apache.kafka.common.message.CreateTopicsRequestDataReturns the value of thetopicsWithAssociationConfigsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevalidatedrecord component.
-
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 aKafkaResultrecord class.- Parameters:
validated- the value for thevalidatedrecord componenttopicsWithAssociationConfigs- the value for thetopicsWithAssociationConfigsrecord componentkafkaResponse- the value for thekafkaResponserecord componentsuccessfulTopics- the value for thesuccessfulTopicsrecord componentretryTopics- the value for theretryTopicsrecord component
-
-
Method Details
-
request
-
validationFailures
-
namespace
-
srClient
public io.confluent.kafka.schemaregistry.client.SchemaRegistryClient srClient() -
isValidateOnly
public boolean isValidateOnly() -
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object). -
validated
Returns the value of thevalidatedrecord component.- Returns:
- the value of the
validatedrecord component
-
topicsWithAssociationConfigs
public org.apache.kafka.common.message.CreateTopicsRequestData topicsWithAssociationConfigs()Returns the value of thetopicsWithAssociationConfigsrecord component.- Returns:
- the value of the
topicsWithAssociationConfigsrecord component
-
kafkaResponse
public org.apache.kafka.common.message.CreateTopicsResponseData kafkaResponse()Returns the value of thekafkaResponserecord component.- Returns:
- the value of the
kafkaResponserecord component
-
successfulTopics
Returns the value of thesuccessfulTopicsrecord component.- Returns:
- the value of the
successfulTopicsrecord component
-
retryTopics
Returns the value of theretryTopicsrecord component.- Returns:
- the value of the
retryTopicsrecord component
-