Skip to content

Background color for Consumer Group #941

Answered by tchiotludo
n-i-c-o-l-a-s asked this question in Q&A
Discussion options

You must be logged in to vote

The response is here

switch (state) {
case 'STABLE':
className = 'badge badge-success';
break;
case 'PREPARING_REBALANCE':
className = 'badge badge-primary';
break;
default:
className = 'badge badge-warning';
break;
}

In resume :

  • GREEN: Stable
  • BLUE: Rebalancing consumer group
  • YELLOW: All the others case, mostly empty consumer group

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tchiotludo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants