@backstage-community/plugin-kafka 0.6.1 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/Router.esm.js +3 -3
- package/dist/Router.esm.js.map +1 -1
- package/dist/components/ConsumerGroupOffsets/ConsumerGroupOffsets.esm.js +17 -11
- package/dist/components/ConsumerGroupOffsets/ConsumerGroupOffsets.esm.js.map +1 -1
- package/dist/index.d.ts +3 -5
- package/package.json +15 -8
package/CHANGELOG.md
CHANGED
package/dist/Router.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Routes, Route } from 'react-router-dom';
|
|
3
3
|
import { useEntity, MissingAnnotationEmptyState } from '@backstage/plugin-catalog-react';
|
|
4
4
|
import { KAFKA_CONSUMER_GROUP_ANNOTATION } from './constants.esm.js';
|
|
@@ -8,14 +8,14 @@ const isPluginApplicableToEntity = (entity) => Boolean(entity.metadata.annotatio
|
|
|
8
8
|
const Router = () => {
|
|
9
9
|
const { entity } = useEntity();
|
|
10
10
|
if (!isPluginApplicableToEntity(entity)) {
|
|
11
|
-
return /* @__PURE__ */
|
|
11
|
+
return /* @__PURE__ */ jsx(
|
|
12
12
|
MissingAnnotationEmptyState,
|
|
13
13
|
{
|
|
14
14
|
annotation: KAFKA_CONSUMER_GROUP_ANNOTATION
|
|
15
15
|
}
|
|
16
16
|
);
|
|
17
17
|
}
|
|
18
|
-
return /* @__PURE__ */
|
|
18
|
+
return /* @__PURE__ */ jsx(Routes, { children: /* @__PURE__ */ jsx(Route, { path: "/", element: /* @__PURE__ */ jsx(KafkaTopicsForConsumer, {}) }) });
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
export { Router, isPluginApplicableToEntity };
|
package/dist/Router.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Router.esm.js","sources":["../src/Router.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Entity } from '@backstage/catalog-model';\nimport
|
|
1
|
+
{"version":3,"file":"Router.esm.js","sources":["../src/Router.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Entity } from '@backstage/catalog-model';\nimport { Route, Routes } from 'react-router-dom';\nimport {\n useEntity,\n MissingAnnotationEmptyState,\n} from '@backstage/plugin-catalog-react';\nimport { KAFKA_CONSUMER_GROUP_ANNOTATION } from './constants';\nimport { KafkaTopicsForConsumer } from './components/ConsumerGroupOffsets/ConsumerGroupOffsets';\n\n/** @public */\nexport const isPluginApplicableToEntity = (entity: Entity) =>\n Boolean(entity.metadata.annotations?.[KAFKA_CONSUMER_GROUP_ANNOTATION]);\n\n/** @public */\nexport const Router = () => {\n const { entity } = useEntity();\n\n if (!isPluginApplicableToEntity(entity)) {\n return (\n <MissingAnnotationEmptyState\n annotation={KAFKA_CONSUMER_GROUP_ANNOTATION}\n />\n );\n }\n\n return (\n <Routes>\n <Route path=\"/\" element={<KafkaTopicsForConsumer />} />\n </Routes>\n );\n};\n"],"names":[],"mappings":";;;;;;AA0Ba,MAAA,0BAAA,GAA6B,CAAC,MACzC,KAAA,OAAA,CAAQ,OAAO,QAAS,CAAA,WAAA,GAAc,+BAA+B,CAAC;AAGjE,MAAM,SAAS,MAAM;AAC1B,EAAM,MAAA,EAAE,MAAO,EAAA,GAAI,SAAU,EAAA;AAE7B,EAAI,IAAA,CAAC,0BAA2B,CAAA,MAAM,CAAG,EAAA;AACvC,IACE,uBAAA,GAAA;AAAA,MAAC,2BAAA;AAAA,MAAA;AAAA,QACC,UAAY,EAAA;AAAA;AAAA,KACd;AAAA;AAIJ,EACE,uBAAA,GAAA,CAAC,MACC,EAAA,EAAA,QAAA,kBAAA,GAAA,CAAC,KAAM,EAAA,EAAA,IAAA,EAAK,KAAI,OAAS,kBAAA,GAAA,CAAC,sBAAuB,EAAA,EAAA,CAAA,EAAI,CACvD,EAAA,CAAA;AAEJ;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
1
2
|
import Box from '@material-ui/core/Box';
|
|
2
3
|
import Grid from '@material-ui/core/Grid';
|
|
3
4
|
import Typography from '@material-ui/core/Typography';
|
|
4
5
|
import RetryIcon from '@material-ui/icons/Replay';
|
|
5
|
-
import React from 'react';
|
|
6
6
|
import { useConsumerGroupsOffsetsForEntity } from './useConsumerGroupsOffsetsForEntity.esm.js';
|
|
7
7
|
import { Table, Link } from '@backstage/core-components';
|
|
8
8
|
|
|
@@ -12,28 +12,28 @@ const generatedColumns = [
|
|
|
12
12
|
field: "topic",
|
|
13
13
|
highlight: true,
|
|
14
14
|
render: (row) => {
|
|
15
|
-
return /* @__PURE__ */
|
|
15
|
+
return /* @__PURE__ */ jsx(Fragment, { children: row.topic ?? "" });
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
title: "Partition",
|
|
20
20
|
field: "partitionId",
|
|
21
21
|
render: (row) => {
|
|
22
|
-
return /* @__PURE__ */
|
|
22
|
+
return /* @__PURE__ */ jsx(Fragment, { children: row.partitionId ?? "" });
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
title: "Topic Offset",
|
|
27
27
|
field: "topicOffset",
|
|
28
28
|
render: (row) => {
|
|
29
|
-
return /* @__PURE__ */
|
|
29
|
+
return /* @__PURE__ */ jsx(Fragment, { children: row.topicOffset ?? "" });
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
title: "Group Offset",
|
|
34
34
|
field: "groupOffset",
|
|
35
35
|
render: (row) => {
|
|
36
|
-
return /* @__PURE__ */
|
|
36
|
+
return /* @__PURE__ */ jsx(Fragment, { children: row.groupOffset ?? "" });
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
{
|
|
@@ -44,7 +44,7 @@ const generatedColumns = [
|
|
|
44
44
|
if (row.topicOffset && row.groupOffset) {
|
|
45
45
|
lag = +row.topicOffset - +row.groupOffset;
|
|
46
46
|
}
|
|
47
|
-
return /* @__PURE__ */
|
|
47
|
+
return /* @__PURE__ */ jsx(Fragment, { children: lag ?? "" });
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
];
|
|
@@ -56,34 +56,40 @@ const ConsumerGroupOffsets = ({
|
|
|
56
56
|
consumerGroup,
|
|
57
57
|
retry
|
|
58
58
|
}) => {
|
|
59
|
-
return /* @__PURE__ */
|
|
59
|
+
return /* @__PURE__ */ jsx(
|
|
60
60
|
Table,
|
|
61
61
|
{
|
|
62
62
|
isLoading: loading,
|
|
63
63
|
actions: [
|
|
64
64
|
{
|
|
65
|
-
icon: () => /* @__PURE__ */
|
|
65
|
+
icon: () => /* @__PURE__ */ jsx(RetryIcon, {}),
|
|
66
66
|
tooltip: "Refresh Data",
|
|
67
67
|
isFreeAction: true,
|
|
68
68
|
onClick: () => retry()
|
|
69
69
|
}
|
|
70
70
|
],
|
|
71
71
|
data: topics ?? [],
|
|
72
|
-
title: /* @__PURE__ */
|
|
72
|
+
title: /* @__PURE__ */ jsx(Box, { display: "flex", alignItems: "center", children: /* @__PURE__ */ jsxs(Typography, { variant: "h6", children: [
|
|
73
|
+
"Consumed Topics for ",
|
|
74
|
+
consumerGroup,
|
|
75
|
+
" (",
|
|
76
|
+
dashboardUrl && /* @__PURE__ */ jsx(Link, { to: dashboardUrl, children: clusterId }) || clusterId,
|
|
77
|
+
")"
|
|
78
|
+
] }) }),
|
|
73
79
|
columns: generatedColumns
|
|
74
80
|
}
|
|
75
81
|
);
|
|
76
82
|
};
|
|
77
83
|
const KafkaTopicsForConsumer = () => {
|
|
78
84
|
const [tableProps, { retry }] = useConsumerGroupsOffsetsForEntity();
|
|
79
|
-
return /* @__PURE__ */
|
|
85
|
+
return /* @__PURE__ */ jsx(Grid, { container: true, spacing: 3, children: tableProps.consumerGroupsTopics?.map((consumerGroup) => /* @__PURE__ */ jsx(Grid, { item: true, xs: 12, children: /* @__PURE__ */ jsx(
|
|
80
86
|
ConsumerGroupOffsets,
|
|
81
87
|
{
|
|
82
88
|
...consumerGroup,
|
|
83
89
|
loading: tableProps.loading,
|
|
84
90
|
retry
|
|
85
91
|
}
|
|
86
|
-
))));
|
|
92
|
+
) }, consumerGroup.clusterId)) });
|
|
87
93
|
};
|
|
88
94
|
|
|
89
95
|
export { ConsumerGroupOffsets, KafkaTopicsForConsumer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConsumerGroupOffsets.esm.js","sources":["../../../src/components/ConsumerGroupOffsets/ConsumerGroupOffsets.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport Box from '@material-ui/core/Box';\nimport Grid from '@material-ui/core/Grid';\nimport Typography from '@material-ui/core/Typography';\nimport RetryIcon from '@material-ui/icons/Replay';\nimport
|
|
1
|
+
{"version":3,"file":"ConsumerGroupOffsets.esm.js","sources":["../../../src/components/ConsumerGroupOffsets/ConsumerGroupOffsets.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport Box from '@material-ui/core/Box';\nimport Grid from '@material-ui/core/Grid';\nimport Typography from '@material-ui/core/Typography';\nimport RetryIcon from '@material-ui/icons/Replay';\nimport { useConsumerGroupsOffsetsForEntity } from './useConsumerGroupsOffsetsForEntity';\nimport { Table, TableColumn, Link } from '@backstage/core-components';\n\nexport type TopicPartitionInfo = {\n topic: string;\n partitionId: number;\n topicOffset: string;\n groupOffset: string;\n};\n\nconst generatedColumns: TableColumn[] = [\n {\n title: 'Topic',\n field: 'topic',\n highlight: true,\n render: (row: Partial<TopicPartitionInfo>) => {\n return <>{row.topic ?? ''}</>;\n },\n },\n {\n title: 'Partition',\n field: 'partitionId',\n render: (row: Partial<TopicPartitionInfo>) => {\n return <>{row.partitionId ?? ''}</>;\n },\n },\n {\n title: 'Topic Offset',\n field: 'topicOffset',\n render: (row: Partial<TopicPartitionInfo>) => {\n return <>{row.topicOffset ?? ''}</>;\n },\n },\n {\n title: 'Group Offset',\n field: 'groupOffset',\n render: (row: Partial<TopicPartitionInfo>) => {\n return <>{row.groupOffset ?? ''}</>;\n },\n },\n {\n title: 'Lag',\n field: 'lag',\n render: (row: Partial<TopicPartitionInfo>) => {\n let lag = undefined;\n if (row.topicOffset && row.groupOffset) {\n lag = +row.topicOffset - +row.groupOffset;\n }\n return <>{lag ?? ''}</>;\n },\n },\n];\n\ntype Props = {\n loading: boolean;\n retry: () => void;\n clusterId: string;\n dashboardUrl?: string;\n consumerGroup: string;\n topics?: TopicPartitionInfo[];\n};\n\nexport const ConsumerGroupOffsets = ({\n loading,\n topics,\n clusterId,\n dashboardUrl,\n consumerGroup,\n retry,\n}: Props) => {\n return (\n <Table\n isLoading={loading}\n actions={[\n {\n icon: () => <RetryIcon />,\n tooltip: 'Refresh Data',\n isFreeAction: true,\n onClick: () => retry(),\n },\n ]}\n data={topics ?? []}\n title={\n <Box display=\"flex\" alignItems=\"center\">\n <Typography variant=\"h6\">\n Consumed Topics for {consumerGroup} (\n {(dashboardUrl && <Link to={dashboardUrl}>{clusterId}</Link>) ||\n clusterId}\n )\n </Typography>\n </Box>\n }\n columns={generatedColumns}\n />\n );\n};\n\nexport const KafkaTopicsForConsumer = () => {\n const [tableProps, { retry }] = useConsumerGroupsOffsetsForEntity();\n return (\n <Grid container spacing={3}>\n {tableProps.consumerGroupsTopics?.map(consumerGroup => (\n <Grid item xs={12} key={consumerGroup.clusterId}>\n <ConsumerGroupOffsets\n {...consumerGroup}\n loading={tableProps.loading}\n retry={retry}\n />\n </Grid>\n ))}\n </Grid>\n );\n};\n"],"names":[],"mappings":";;;;;;;;AA8BA,MAAM,gBAAkC,GAAA;AAAA,EACtC;AAAA,IACE,KAAO,EAAA,OAAA;AAAA,IACP,KAAO,EAAA,OAAA;AAAA,IACP,SAAW,EAAA,IAAA;AAAA,IACX,MAAA,EAAQ,CAAC,GAAqC,KAAA;AAC5C,MAAO,uBAAA,GAAA,CAAA,QAAA,EAAA,EAAG,QAAI,EAAA,GAAA,CAAA,KAAA,IAAS,EAAG,EAAA,CAAA;AAAA;AAC5B,GACF;AAAA,EACA;AAAA,IACE,KAAO,EAAA,WAAA;AAAA,IACP,KA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AEJ;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import * as react from 'react';
|
|
3
|
-
import react__default from 'react';
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
2
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
5
3
|
import { Entity } from '@backstage/catalog-model';
|
|
6
4
|
|
|
@@ -9,7 +7,7 @@ declare const kafkaPlugin: _backstage_core_plugin_api.BackstagePlugin<{
|
|
|
9
7
|
entityContent: _backstage_core_plugin_api.RouteRef<undefined>;
|
|
10
8
|
}, {}, {}>;
|
|
11
9
|
/** @public */
|
|
12
|
-
declare const EntityKafkaContent: () =>
|
|
10
|
+
declare const EntityKafkaContent: () => react_jsx_runtime.JSX.Element;
|
|
13
11
|
|
|
14
12
|
/** @public */
|
|
15
13
|
declare const KAFKA_CONSUMER_GROUP_ANNOTATION = "kafka.apache.org/consumer-groups";
|
|
@@ -17,6 +15,6 @@ declare const KAFKA_CONSUMER_GROUP_ANNOTATION = "kafka.apache.org/consumer-group
|
|
|
17
15
|
/** @public */
|
|
18
16
|
declare const isPluginApplicableToEntity: (entity: Entity) => boolean;
|
|
19
17
|
/** @public */
|
|
20
|
-
declare const Router: () =>
|
|
18
|
+
declare const Router: () => react_jsx_runtime.JSX.Element;
|
|
21
19
|
|
|
22
20
|
export { EntityKafkaContent, KAFKA_CONSUMER_GROUP_ANNOTATION, Router, isPluginApplicableToEntity as isKafkaAvailable, isPluginApplicableToEntity, kafkaPlugin, kafkaPlugin as plugin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-kafka",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "A Backstage plugin that integrates towards Kafka",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -39,19 +39,19 @@
|
|
|
39
39
|
"test": "backstage-cli package test"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@backstage/catalog-model": "^1.7.
|
|
43
|
-
"@backstage/core-components": "^0.17.
|
|
44
|
-
"@backstage/core-plugin-api": "^1.10.
|
|
45
|
-
"@backstage/plugin-catalog-react": "^1.
|
|
42
|
+
"@backstage/catalog-model": "^1.7.5",
|
|
43
|
+
"@backstage/core-components": "^0.17.4",
|
|
44
|
+
"@backstage/core-plugin-api": "^1.10.9",
|
|
45
|
+
"@backstage/plugin-catalog-react": "^1.19.1",
|
|
46
46
|
"@material-ui/core": "^4.12.2",
|
|
47
47
|
"@material-ui/icons": "^4.9.1",
|
|
48
48
|
"@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
49
49
|
"react-use": "^17.2.4"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@backstage/cli": "^0.
|
|
53
|
-
"@backstage/dev-utils": "^1.1.
|
|
54
|
-
"@backstage/test-utils": "^1.7.
|
|
52
|
+
"@backstage/cli": "^0.33.1",
|
|
53
|
+
"@backstage/dev-utils": "^1.1.12",
|
|
54
|
+
"@backstage/test-utils": "^1.7.10",
|
|
55
55
|
"@testing-library/dom": "^10.0.0",
|
|
56
56
|
"@testing-library/jest-dom": "^6.0.0",
|
|
57
57
|
"@testing-library/react": "^15.0.0",
|
|
@@ -67,5 +67,12 @@
|
|
|
67
67
|
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
68
68
|
},
|
|
69
69
|
"configSchema": "config.d.ts",
|
|
70
|
+
"typesVersions": {
|
|
71
|
+
"*": {
|
|
72
|
+
"package.json": [
|
|
73
|
+
"package.json"
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
},
|
|
70
77
|
"module": "./dist/index.esm.js"
|
|
71
78
|
}
|