Skip to content

Commit 043f689

Browse files
kostaKosta Welke
authored andcommitted
all messages for AlterReplicaLogDirs
1 parent 74c9481 commit 043f689

File tree

3 files changed

+60
-65
lines changed

3 files changed

+60
-65
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
kafka_message!("AlterReplicaLogDirs Request (Version: 0) => [log_dirs]
2+
log_dirs => log_dir [topics]
3+
log_dir => STRING
4+
topics => topic [partitions]
5+
topic => STRING
6+
partitions => INT32
7+
8+
Field Description
9+
log_dirs null
10+
log_dir The absolute log directory path.
11+
topics null
12+
topic Name of topic
13+
partitions List of partition ids of the topic.");
14+
15+
kafka_message!("AlterReplicaLogDirs Request (Version: 1) => [log_dirs]
16+
log_dirs => log_dir [topics]
17+
log_dir => STRING
18+
topics => topic [partitions]
19+
topic => STRING
20+
partitions => INT32
21+
22+
Field Description
23+
log_dirs null
24+
log_dir The absolute log directory path.
25+
topics null
26+
topic Name of topic
27+
partitions List of partition ids of the topic.");
28+
29+
kafka_message!("AlterReplicaLogDirs Response (Version: 0) => throttle_time_ms [topics]
30+
throttle_time_ms => INT32
31+
topics => topic [partitions]
32+
topic => STRING
33+
partitions => partition error_code
34+
partition => INT32
35+
error_code => INT16
36+
37+
Field Description
38+
throttle_time_ms Duration in milliseconds for which the request was throttled due to quota violation (Zero if the request did not violate any quota)
39+
topics null
40+
topic Name of topic
41+
partitions null
42+
partition Topic partition id
43+
error_code Response error code");
44+
45+
kafka_message!("AlterReplicaLogDirs Response (Version: 1) => throttle_time_ms [topics]
46+
throttle_time_ms => INT32
47+
topics => topic [partitions]
48+
topic => STRING
49+
partitions => partition error_code
50+
partition => INT32
51+
error_code => INT16
52+
53+
Field Description
54+
throttle_time_ms Duration in milliseconds for which the request was throttled due to quota violation (Zero if the request did not violate any quota)
55+
topics null
56+
topic Name of topic
57+
partitions null
58+
partition Topic partition id
59+
error_code Response error code");

franzi-proto/src/messages/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ pub mod create_acls;
3232
pub mod delete_acls;
3333
pub mod describe_configs;
3434
pub mod alter_configs;
35+
pub mod alter_replica_log_dirs;

protocol.txt

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,71 +1118,6 @@ producer_id The producer id associated with the aborted transactions
11181118
first_offset The first offset in the aborted transaction
11191119
record_set null
11201120

1121-
AlterReplicaLogDirs API (Key: 34):
1122-
1123-
*Requests:*
1124-
1125-
AlterReplicaLogDirs Request (Version: 0) => [log_dirs]
1126-
log_dirs => log_dir [topics]
1127-
log_dir => STRING
1128-
topics => topic [partitions]
1129-
topic => STRING
1130-
partitions => INT32
1131-
1132-
Field Description
1133-
log_dirs null
1134-
log_dir The absolute log directory path.
1135-
topics null
1136-
topic Name of topic
1137-
partitions List of partition ids of the topic.
1138-
1139-
AlterReplicaLogDirs Request (Version: 1) => [log_dirs]
1140-
log_dirs => log_dir [topics]
1141-
log_dir => STRING
1142-
topics => topic [partitions]
1143-
topic => STRING
1144-
partitions => INT32
1145-
1146-
Field Description
1147-
log_dirs null
1148-
log_dir The absolute log directory path.
1149-
topics null
1150-
topic Name of topic
1151-
partitions List of partition ids of the topic.
1152-
1153-
AlterReplicaLogDirs Response (Version: 0) => throttle_time_ms [topics]
1154-
throttle_time_ms => INT32
1155-
topics => topic [partitions]
1156-
topic => STRING
1157-
partitions => partition error_code
1158-
partition => INT32
1159-
error_code => INT16
1160-
1161-
Field Description
1162-
throttle_time_ms Duration in milliseconds for which the request was throttled due to quota violation (Zero if the request did not violate any quota)
1163-
topics null
1164-
topic Name of topic
1165-
partitions null
1166-
partition Topic partition id
1167-
error_code Response error code
1168-
1169-
AlterReplicaLogDirs Response (Version: 1) => throttle_time_ms [topics]
1170-
throttle_time_ms => INT32
1171-
topics => topic [partitions]
1172-
topic => STRING
1173-
partitions => partition error_code
1174-
partition => INT32
1175-
error_code => INT16
1176-
1177-
Field Description
1178-
throttle_time_ms Duration in milliseconds for which the request was throttled due to quota violation (Zero if the request did not violate any quota)
1179-
topics null
1180-
topic Name of topic
1181-
partitions null
1182-
partition Topic partition id
1183-
error_code Response error code
1184-
1185-
11861121
DescribeLogDirs API (Key: 35):
11871122

11881123
*Requests:*

0 commit comments

Comments
 (0)