Class KafkaStreamsMetadata
- java.lang.Object
-
- io.streamthoughts.azkarra.runtime.interceptors.monitoring.KafkaStreamsMetadata
-
public class KafkaStreamsMetadata extends Object
Represents the runtime state of a singleKafkaStreams
instance.
-
-
Constructor Summary
Constructors Constructor Description KafkaStreamsMetadata(TimestampedValue<State> state, Set<org.apache.kafka.streams.processor.ThreadMetadata> threads, ConsumerGroupOffsets offsets)
Creates a newKafkaStreamsMetadata
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
ConsumerGroupOffsets
offsets()
State
state()
long
stateChangedTime()
Set<org.apache.kafka.streams.processor.ThreadMetadata>
threads()
String
toString()
-
-
-
Constructor Detail
-
KafkaStreamsMetadata
public KafkaStreamsMetadata(TimestampedValue<State> state, Set<org.apache.kafka.streams.processor.ThreadMetadata> threads, ConsumerGroupOffsets offsets)
Creates a newKafkaStreamsMetadata
instance.- Parameters:
state
- the state of theinstance.
threads
- the set ofThreadMetadata
of theinstance.
offsets
- theConsumerGroupOffsets
of theinstance.
-
-
Method Detail
-
state
public State state()
-
stateChangedTime
public long stateChangedTime()
-
threads
public Set<org.apache.kafka.streams.processor.ThreadMetadata> threads()
-
offsets
public ConsumerGroupOffsets offsets()
-
-