Add clean up policy to the topic overview (#718)
This commit is contained in:
parent
978091d92c
commit
38e1d12452
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,7 @@ const Overview: React.FC<Props> = ({
|
|||
segmentCount,
|
||||
clusterName,
|
||||
topicName,
|
||||
cleanUpPolicy,
|
||||
clearTopicMessages,
|
||||
}) => {
|
||||
const { isReadOnly } = React.useContext(ClusterContext);
|
||||
|
@ -59,6 +60,9 @@ const Overview: React.FC<Props> = ({
|
|||
<BytesFormatted value={segmentSize} />
|
||||
</Indicator>
|
||||
<Indicator label="Segment count">{segmentCount}</Indicator>
|
||||
<Indicator label="Clean Up Policy">
|
||||
<span className="tag is-info">{cleanUpPolicy || 'Unknown'}</span>
|
||||
</Indicator>
|
||||
</MetricsWrapper>
|
||||
<div className="box">
|
||||
<table className="table is-striped is-fullwidth">
|
||||
|
|
Loading…
Add table
Reference in a new issue