Skip to content

Commit

Permalink
fix: topic target attributes to show leaders
Browse files Browse the repository at this point in the history
  • Loading branch information
achoimet committed Nov 21, 2024
1 parent 29d1500 commit 9887481
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extkafka/topic_discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (r *kafkaTopicDiscovery) DescribeTarget() discovery_kit_api.TargetDescripti
Columns: []discovery_kit_api.Column{
{Attribute: "steadybit.label"},
{Attribute: "kafka.topic.name"},
{Attribute: "kafka.topic.partitions"},
{Attribute: "kafka.topic.partitions-leaders"},
{Attribute: "kafka.topic.replication-factor"},
},
OrderBy: []discovery_kit_api.OrderBy{
Expand Down Expand Up @@ -85,8 +85,8 @@ func (r *kafkaTopicDiscovery) DescribeAttributes() []discovery_kit_api.Attribute
{
Attribute: "kafka.topic.partitions-leaders",
Label: discovery_kit_api.PluralLabel{
One: "Kafka topic partitions",
Other: "Kafka topic partitions",
One: "Kafka topic partitions leaders",
Other: "Kafka topic partitions leaders",
},
},
{
Expand Down

0 comments on commit 9887481

Please sign in to comment.