@@ -51,7 +51,7 @@ public class AzureEventHub extends Asset
5151 @ Builder .Default
5252 String typeName = TYPE_NAME ;
5353
54- /** TBC */
54+ /** Operational status of the Azure Event Hub at the source. */
5555 @ Attribute
5656 String azureEventHubStatus ;
5757
@@ -70,23 +70,44 @@ public class AzureEventHub extends Asset
7070 @ Singular
7171 SortedSet <ISparkJob > inputToSparkJobs ;
7272
73+ /** Kafka cluster containing this topic. */
74+ @ Attribute
75+ IKafkaCluster kafkaCluster ;
76+
7377 /** Consumer groups subscribed to this topic. */
7478 @ Attribute
7579 @ Singular
7680 SortedSet <IKafkaConsumerGroup > kafkaConsumerGroups ;
7781
82+ /** Schema fields defined within this Kafka topic. */
83+ @ Attribute
84+ @ Singular
85+ SortedSet <IKafkaField > kafkaFields ;
86+
7887 /** Cleanup policy for this topic. */
7988 @ Attribute
8089 KafkaTopicCleanupPolicy kafkaTopicCleanupPolicy ;
8190
91+ /** Unique name of the Kafka cluster in which this topic exists. */
92+ @ Attribute
93+ String kafkaTopicClusterQualifiedName ;
94+
8295 /** Type of compression used for this topic. */
8396 @ Attribute
8497 KafkaTopicCompressionType kafkaTopicCompressionType ;
8598
99+ /** Number of consumer groups consuming this topic. */
100+ @ Attribute
101+ Long kafkaTopicConsumerCount ;
102+
86103 /** Whether this topic is an internal topic (true) or not (false). */
87104 @ Attribute
88105 Boolean kafkaTopicIsInternal ;
89106
107+ /** Whether this topic is fully managed by a schema registry (true) or not (false). */
108+ @ Attribute
109+ Boolean kafkaTopicIsSchemaManaged ;
110+
90111 /** Comma seperated Cleanup policy for this topic. */
91112 @ Attribute
92113 String kafkaTopicLogCleanupPolicy ;
@@ -103,10 +124,18 @@ public class AzureEventHub extends Asset
103124 @ Attribute
104125 Long kafkaTopicReplicationFactor ;
105126
127+ /** Maximum size in bytes that a topic can grow to before discarding old messages; -1 means unlimited. */
128+ @ Attribute
129+ Long kafkaTopicRetentionBytes ;
130+
106131 /** Amount of time messages will be retained in this topic, in milliseconds. */
107132 @ Attribute
108133 Long kafkaTopicRetentionTimeInMs ;
109134
135+ /** Name of the schema registry subject governing this topic, if any. */
136+ @ Attribute
137+ String kafkaTopicSchemaRegistrySubjectName ;
138+
110139 /** Segment size for this topic. */
111140 @ Attribute
112141 Long kafkaTopicSegmentBytes ;
0 commit comments