diff --git a/kafka-ui-react-app/src/components/Topics/List/List.tsx b/kafka-ui-react-app/src/components/Topics/List/List.tsx index 8bc231a98d965ec0ee404dd107cabbc478836fb6..34b7bc8a955f5ea0d42f7b46dedf135201b5c197 100644 --- a/kafka-ui-react-app/src/components/Topics/List/List.tsx +++ b/kafka-ui-react-app/src/components/Topics/List/List.tsx @@ -135,6 +135,7 @@ const List: React.FC = ({ orderBy={orderBy} setOrderBy={setTopicsOrderBy} /> + Replication Factor Number of messages Size Type diff --git a/kafka-ui-react-app/src/components/Topics/List/ListItem.tsx b/kafka-ui-react-app/src/components/Topics/List/ListItem.tsx index 6a086771a91554de78cb36e6d4b12e8ae4fbf094..ea2e99953fd0c2b1fc673237ef44795079cf748c 100644 --- a/kafka-ui-react-app/src/components/Topics/List/ListItem.tsx +++ b/kafka-ui-react-app/src/components/Topics/List/ListItem.tsx @@ -20,7 +20,7 @@ export interface ListItemProps { } const ListItem: React.FC = ({ - topic: { name, internal, partitions, segmentSize }, + topic: { name, internal, partitions, segmentSize, replicationFactor }, deleteTopic, clusterName, clearTopicMessages, @@ -75,6 +75,7 @@ const ListItem: React.FC = ({ {partitions?.length} {outOfSyncReplicas} + {replicationFactor} {numberOfMessages} diff --git a/kafka-ui-react-app/src/components/Topics/List/__tests__/__snapshots__/List.spec.tsx.snap b/kafka-ui-react-app/src/components/Topics/List/__tests__/__snapshots__/List.spec.tsx.snap index 17a86b1f2feed60d151b224985a0cbd7a36ef27b..b3012f8138741e0a00b45a79735fb8e10387b934 100644 --- a/kafka-ui-react-app/src/components/Topics/List/__tests__/__snapshots__/List.spec.tsx.snap +++ b/kafka-ui-react-app/src/components/Topics/List/__tests__/__snapshots__/List.spec.tsx.snap @@ -205,6 +205,9 @@ exports[`List when it does not have readonly flag matches the snapshot 1`] = ` + + Replication Factor + Number of messages