Skip to content

Commit 35535cf

Browse files
committed
remove unnecessary kafka tags in describeclientquotas.go
1 parent 80b8082 commit 35535cf

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

describeclientquotas.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,60 +16,60 @@ type DescribeClientQuotasRequest struct {
1616
Addr net.Addr
1717

1818
// List of quota components to describe.
19-
Components []DescribeClientQuotasRequestComponent `kafka:"min=v0,max=v1"`
19+
Components []DescribeClientQuotasRequestComponent
2020

2121
// Whether the match is strict, i.e. should exclude entities with
2222
// unspecified entity types.
23-
Strict bool `kafka:"min=v0,max=v1"`
23+
Strict bool
2424
}
2525

2626
type DescribeClientQuotasRequestComponent struct {
2727
// The entity type that the filter component applies to.
28-
EntityType string `kafka:"min=v0,max=v1"`
28+
EntityType string
2929

3030
// How to match the entity (0 = exact name, 1 = default name,
3131
// 2 = any specified name).
32-
MatchType int8 `kafka:"min=v0,max=v1"`
32+
MatchType int8
3333

3434
// The string to match against, or null if unused for the match type.
35-
Match string `kafka:"min=v0,max=v1,nullable"`
35+
Match string
3636
}
3737

3838
// DescribeClientQuotasReesponse represents a response from a kafka broker to a describe client quota request.
3939
type DescribeClientQuotasResponse struct {
4040
// The amount of time that the broker throttled the request.
41-
Throttle time.Duration `kafka:"min=v0,max=v1"`
41+
Throttle time.Duration
4242

4343
// Error is set to a non-nil value including the code and message if a top-level
4444
// error was encountered when doing the update.
4545
Error error
4646

4747
// List of describe client quota responses.
48-
Entries []DescribeClientQuotasResponseQuotas `kafka:"min=v0,max=v1"`
48+
Entries []DescribeClientQuotasResponseQuotas
4949
}
5050

5151
type DescribeClientQuotasEntity struct {
5252
// The quota entity type.
53-
EntityType string `kafka:"min=v0,max=v1"`
53+
EntityType string
5454

5555
// The name of the quota entity, or null if the default.
56-
EntityName string `kafka:"min=v0,max=v1,nullable"`
56+
EntityName string
5757
}
5858

5959
type DescribeClientQuotasValue struct {
6060
// The quota configuration key.
61-
Key string `kafka:"min=v0,max=v1"`
61+
Key string
6262

6363
// The quota configuration value.
64-
Value float64 `kafka:"min=v0,max=v1"`
64+
Value float64
6565
}
6666

6767
type DescribeClientQuotasResponseQuotas struct {
6868
// List of client quota entities and their descriptions.
69-
Entities []DescribeClientQuotasEntity `kafka:"min=v0,max=v1"`
69+
Entities []DescribeClientQuotasEntity
7070

7171
// The client quota configuration values.
72-
Values []DescribeClientQuotasValue `kafka:"min=v0,max=v1"`
72+
Values []DescribeClientQuotasValue
7373
}
7474

7575
// DescribeClientQuotas sends a describe client quotas request to a kafka broker and returns

0 commit comments

Comments
 (0)