Record Class ClassifyResult
java.lang.Object
java.lang.Record
io.confluent.kafka.odyssey.ClassifyResult
public record ClassifyResult(OdysseyRequestContext request, TopicClassification classification, Map<String, ParsedAssociations> extractedAssociations, Map<String, OdysseyResult> parseFailures)
extends Record
Result of topic classification before token acquisition.
At this stage, we know which topics need Odyssey but haven't acquired a token yet.
-
Constructor Summary
ConstructorsConstructorDescriptionClassifyResult(OdysseyRequestContext request, TopicClassification classification, Map<String, ParsedAssociations> extractedAssociations, Map<String, OdysseyResult> parseFailures) Creates an instance of aClassifyResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassificationrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theextractedAssociationsrecord component.final inthashCode()Returns a hash code value for this object.booleanlsrcId()Returns the value of theparseFailuresrecord component.request()Returns the value of therequestrecord component.List<org.apache.kafka.common.message.CreateTopicsRequestData.CreatableTopic> final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ClassifyResult
public ClassifyResult(OdysseyRequestContext request, TopicClassification classification, Map<String, ParsedAssociations> extractedAssociations, Map<String, OdysseyResult> parseFailures) Creates an instance of aClassifyResultrecord class.- Parameters:
request- the value for therequestrecord componentclassification- the value for theclassificationrecord componentextractedAssociations- the value for theextractedAssociationsrecord componentparseFailures- the value for theparseFailuresrecord component
-
-
Method Details
-
topicsWithOdysseyConfigs
public List<org.apache.kafka.common.message.CreateTopicsRequestData.CreatableTopic> topicsWithOdysseyConfigs() -
topicNamesWithoutOdysseyConfigs
-
namespace
-
schemaRegistryUrl
-
lsrcId
-
hasOdysseyTopics
public boolean hasOdysseyTopics() -
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). -
request
Returns the value of therequestrecord component.- Returns:
- the value of the
requestrecord component
-
classification
Returns the value of theclassificationrecord component.- Returns:
- the value of the
classificationrecord component
-
extractedAssociations
Returns the value of theextractedAssociationsrecord component.- Returns:
- the value of the
extractedAssociationsrecord component
-
parseFailures
Returns the value of theparseFailuresrecord component.- Returns:
- the value of the
parseFailuresrecord component
-