Package com.atlan.model.structs
Class KafkaTopicConsumption
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.structs.AtlanStruct
com.atlan.model.structs.KafkaTopicConsumption
- All Implemented Interfaces:
Serializable
@Generated("com.atlan.generators.ModelGeneratorV2")
public class KafkaTopicConsumption
extends AtlanStruct
Detailed information about the consumption of a Kafka topic.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classKafkaTopicConsumption.KafkaTopicConsumptionBuilder<C extends KafkaTopicConsumption,B extends KafkaTopicConsumption.KafkaTopicConsumptionBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.structs.AtlanStruct
AtlanStruct.AtlanStructBuilder<C extends AtlanStruct,B extends AtlanStruct.AtlanStructBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.core.AtlanObject
AtlanObject.AtlanObjectBuilder<C extends AtlanObject,B extends AtlanObject.AtlanObjectBuilder<C, B>> -
Field Summary
FieldsFields inherited from class com.atlan.model.core.AtlanObject
rawJsonObject -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanCurrent offset of the Kafka topic.Lag of the Kafka topic.Name of the Kafka topic.Partition of the Kafka topic.Fixed typeName for KafkaTopicConsumption.inthashCode()static KafkaTopicConsumptionQuickly create a new KafkaTopicConsumption.toString()Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
KafkaTopicConsumption
-
-
Method Details
-
of
public static KafkaTopicConsumption of(String topicName, String topicPartition, Long topicLag, Long topicCurrentOffset) Quickly create a new KafkaTopicConsumption.- Parameters:
topicName- Name of the Kafka topic.topicPartition- Partition of the Kafka topic.topicLag- Lag of the Kafka topic.topicCurrentOffset- Current offset of the Kafka topic.- Returns:
- a KafkaTopicConsumption with the provided information
-
builder
-
toBuilder
-
getTopicName
Name of the Kafka topic. -
getTopicPartition
Partition of the Kafka topic. -
getTopicLag
Lag of the Kafka topic. -
getTopicCurrentOffset
Current offset of the Kafka topic. -
equals
- Overrides:
equalsin classAtlanStruct
-
canEqual
- Overrides:
canEqualin classAtlanStruct
-
hashCode
public int hashCode()- Overrides:
hashCodein classAtlanStruct
-
toString
Description copied from class:AtlanObject- Overrides:
toStringin classAtlanObject
-
getTypeName
Fixed typeName for KafkaTopicConsumption.- Overrides:
getTypeNamein classAtlanStruct
-