|
@@ -1,5 +1,5 @@
|
|
|
import { SelectOption } from 'components/common/Select/Select';
|
|
|
-import {ConfigurationParameters, ConsumerGroupState} from 'generated-sources';
|
|
|
+import { ConfigurationParameters, ConsumerGroupState } from 'generated-sources';
|
|
|
|
|
|
declare global {
|
|
|
interface Window {
|
|
@@ -97,11 +97,13 @@ export const METRICS_OPTIONS: SelectOption[] = [
|
|
|
{ value: 'PROMETHEUS', label: 'PROMETHEUS' },
|
|
|
];
|
|
|
|
|
|
-export const CONSUMER_GROUP_STATE_TOOLTIPS : Record<ConsumerGroupState, string> = {
|
|
|
- EMPTY: 'The group exists but has no members.',
|
|
|
- STABLE: 'Consumers are happily consuming and have assigned partitions.',
|
|
|
- PREPARING_REBALANCE: 'Something has changed, and the reassignment of partitions is required.',
|
|
|
- COMPLETING_REBALANCE: 'Partition reassignment is in progress.',
|
|
|
- DEAD: 'The group is going to be removed. It might be due to the inactivity, or the group is being migrated to different group coordinator.',
|
|
|
- UNKNOWN: ''
|
|
|
-}
|
|
|
+export const CONSUMER_GROUP_STATE_TOOLTIPS: Record<ConsumerGroupState, string> =
|
|
|
+ {
|
|
|
+ EMPTY: 'The group exists but has no members.',
|
|
|
+ STABLE: 'Consumers are happily consuming and have assigned partitions.',
|
|
|
+ PREPARING_REBALANCE:
|
|
|
+ 'Something has changed, and the reassignment of partitions is required.',
|
|
|
+ COMPLETING_REBALANCE: 'Partition reassignment is in progress.',
|
|
|
+ DEAD: 'The group is going to be removed. It might be due to the inactivity, or the group is being migrated to different group coordinator.',
|
|
|
+ UNKNOWN: '',
|
|
|
+ };
|