Skip to content

Commit

Permalink
generate / kmsg: name the incremental config alter op int8
Browse files Browse the repository at this point in the history
  • Loading branch information
twmb committed Sep 13, 2021
1 parent 42dc103 commit b87af2d
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 4 deletions.
2 changes: 1 addition & 1 deletion generate/definitions/44_incremental_alter_configs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ IncrementalAlterConfigsRequest => key 44, max version 1, flexible v1+
//
// SUBTRACT (3) is to remove a value from a list of values (if the key
// is for a list of values).
Op: int8
Op: enum-IncrementalAlterConfigOp
// Value is a value to set for the key (e.g. 10).
Value: nullable-string
// ValidateOnly validates the request but does not apply it.
Expand Down
8 changes: 8 additions & 0 deletions generate/definitions/enums
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ ConfigType int8 (
9: PASSWORD
)

// An incremental configuration operation.
IncrementalAlterConfigOp int8 (
0: SET
1: DELETE
2: APPEND
3: SUBTRACT
)

//////////
// ACLS //
//////////
Expand Down
50 changes: 47 additions & 3 deletions pkg/kmsg/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b87af2d

Please sign in to comment.