@platformatic/kafka 1.22.0 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/admin/alter-client-quotas-v1.js +1 -1
- package/dist/apis/admin/alter-configs-v2.js +3 -2
- package/dist/apis/admin/alter-partition-reassignments-v0.js +4 -3
- package/dist/apis/admin/alter-partition-v3.js +2 -2
- package/dist/apis/admin/alter-replica-log-dirs-v2.js +1 -1
- package/dist/apis/admin/alter-user-scram-credentials-v0.js +1 -1
- package/dist/apis/admin/consumer-group-describe-v0.js +3 -2
- package/dist/apis/admin/create-acls-v3.js +1 -1
- package/dist/apis/admin/create-delegation-token-v3.js +1 -1
- package/dist/apis/admin/create-partitions-v1.js +1 -1
- package/dist/apis/admin/create-partitions-v2.js +1 -1
- package/dist/apis/admin/create-partitions-v3.js +1 -1
- package/dist/apis/admin/create-topics-v7.js +1 -1
- package/dist/apis/admin/delete-acls-v3.js +6 -4
- package/dist/apis/admin/delete-groups-v2.js +1 -1
- package/dist/apis/admin/delete-records-v2.js +1 -1
- package/dist/apis/admin/delete-topics-v6.js +1 -1
- package/dist/apis/admin/describe-acls-v3.js +1 -1
- package/dist/apis/admin/describe-client-quotas-v0.js +1 -1
- package/dist/apis/admin/describe-cluster-v1.js +1 -1
- package/dist/apis/admin/describe-configs-v2.js +3 -2
- package/dist/apis/admin/describe-configs-v3.js +3 -2
- package/dist/apis/admin/describe-configs-v4.js +3 -2
- package/dist/apis/admin/describe-delegation-token-v3.js +1 -1
- package/dist/apis/admin/describe-groups-v5.js +1 -1
- package/dist/apis/admin/describe-log-dirs-v4.js +2 -2
- package/dist/apis/admin/describe-producers-v0.js +1 -1
- package/dist/apis/admin/describe-quorum-v2.js +4 -3
- package/dist/apis/admin/describe-topic-partitions-v0.js +2 -2
- package/dist/apis/admin/describe-transactions-v0.js +1 -1
- package/dist/apis/admin/describe-user-scram-credentials-v0.js +6 -4
- package/dist/apis/admin/envelope-v0.js +1 -1
- package/dist/apis/admin/expire-delegation-token-v2.js +1 -1
- package/dist/apis/admin/incremental-alter-configs-v1.js +3 -2
- package/dist/apis/admin/list-groups-v4.js +1 -1
- package/dist/apis/admin/list-groups-v5.js +1 -1
- package/dist/apis/admin/list-partition-reassignments-v0.js +1 -1
- package/dist/apis/admin/list-transactions-v1.js +1 -1
- package/dist/apis/admin/offset-delete-v0.js +2 -2
- package/dist/apis/admin/renew-delegation-token-v2.js +1 -1
- package/dist/apis/admin/unregister-broker-v0.js +1 -1
- package/dist/apis/admin/update-features-v1.js +4 -3
- package/dist/apis/callbacks.d.ts +0 -1
- package/dist/apis/callbacks.js +3 -18
- package/dist/apis/consumer/consumer-group-heartbeat-v0.js +1 -1
- package/dist/apis/consumer/fetch-v12.js +2 -2
- package/dist/apis/consumer/fetch-v13.js +2 -2
- package/dist/apis/consumer/fetch-v14.js +2 -2
- package/dist/apis/consumer/fetch-v15.js +2 -2
- package/dist/apis/consumer/fetch-v16.js +2 -2
- package/dist/apis/consumer/fetch-v17.js +2 -2
- package/dist/apis/consumer/heartbeat-v4.js +1 -1
- package/dist/apis/consumer/join-group-v9.js +1 -1
- package/dist/apis/consumer/leave-group-v5.js +2 -2
- package/dist/apis/consumer/list-offsets-v8.js +1 -1
- package/dist/apis/consumer/list-offsets-v9.js +1 -1
- package/dist/apis/consumer/offset-commit-v8.js +1 -1
- package/dist/apis/consumer/offset-commit-v9.js +1 -1
- package/dist/apis/consumer/offset-fetch-v8.js +2 -2
- package/dist/apis/consumer/offset-fetch-v9.js +2 -2
- package/dist/apis/consumer/offset-for-leader-epoch-v4.js +1 -1
- package/dist/apis/consumer/sync-group-v5.js +1 -1
- package/dist/apis/definitions.d.ts +2 -1
- package/dist/apis/metadata/api-versions-v3.js +1 -1
- package/dist/apis/metadata/api-versions-v4.js +1 -1
- package/dist/apis/metadata/find-coordinator-v4.js +1 -1
- package/dist/apis/metadata/find-coordinator-v5.js +1 -1
- package/dist/apis/metadata/find-coordinator-v6.js +1 -1
- package/dist/apis/metadata/metadata-v10.js +2 -2
- package/dist/apis/metadata/metadata-v11.js +2 -2
- package/dist/apis/metadata/metadata-v12.js +2 -2
- package/dist/apis/metadata/metadata-v9.js +2 -2
- package/dist/apis/producer/add-offsets-to-txn-v4.js +1 -1
- package/dist/apis/producer/add-partitions-to-txn-v5.js +2 -2
- package/dist/apis/producer/end-txn-v4.js +1 -1
- package/dist/apis/producer/init-producer-id-v4.js +1 -1
- package/dist/apis/producer/init-producer-id-v5.js +1 -1
- package/dist/apis/producer/produce-v10.js +14 -9
- package/dist/apis/producer/produce-v11.js +14 -9
- package/dist/apis/producer/produce-v7.js +1 -1
- package/dist/apis/producer/produce-v8.js +14 -9
- package/dist/apis/producer/produce-v9.js +14 -9
- package/dist/apis/producer/txn-offset-commit-v4.js +1 -1
- package/dist/apis/security/sasl-authenticate-v2.js +1 -1
- package/dist/apis/security/sasl-handshake-v1.d.ts +2 -2
- package/dist/apis/security/sasl-handshake-v1.js +1 -1
- package/dist/apis/telemetry/get-telemetry-subscriptions-v0.js +1 -1
- package/dist/apis/telemetry/list-client-metrics-resources-v0.js +1 -1
- package/dist/apis/telemetry/push-telemetry-v0.js +1 -1
- package/dist/clients/admin/admin.d.ts +3 -1
- package/dist/clients/admin/admin.js +125 -8
- package/dist/clients/admin/options.d.ts +33 -0
- package/dist/clients/admin/options.js +22 -0
- package/dist/clients/admin/types.d.ts +10 -1
- package/dist/clients/base/base.js +4 -2
- package/dist/clients/base/types.d.ts +1 -0
- package/dist/clients/consumer/consumer.js +2 -3
- package/dist/errors.d.ts +3 -2
- package/dist/errors.js +5 -4
- package/dist/network/connection.d.ts +8 -1
- package/dist/network/connection.js +28 -10
- package/dist/protocol/definitions.d.ts +2 -1
- package/dist/protocol/index.d.ts +0 -1
- package/dist/protocol/index.js +0 -1
- package/dist/typescript-4/dist/apis/admin/alter-client-quotas-v1.d.ts +39 -0
- package/dist/typescript-4/dist/apis/admin/alter-configs-v2.d.ts +26 -0
- package/dist/typescript-4/dist/apis/admin/alter-partition-reassignments-v0.d.ts +30 -0
- package/dist/typescript-4/dist/apis/admin/alter-partition-v3.d.ts +39 -0
- package/dist/typescript-4/dist/apis/admin/alter-replica-log-dirs-v2.d.ts +26 -0
- package/dist/typescript-4/dist/apis/admin/alter-user-scram-credentials-v0.d.ts +27 -0
- package/dist/typescript-4/dist/apis/admin/consumer-group-describe-v0.d.ts +41 -0
- package/dist/typescript-4/dist/apis/admin/create-acls-v3.d.ts +24 -0
- package/dist/typescript-4/dist/apis/admin/create-delegation-token-v3.d.ts +24 -0
- package/dist/typescript-4/dist/apis/admin/create-partitions-v1.d.ts +24 -0
- package/dist/typescript-4/dist/apis/admin/create-partitions-v2.d.ts +24 -0
- package/dist/typescript-4/dist/apis/admin/create-partitions-v3.d.ts +24 -0
- package/dist/typescript-4/dist/apis/admin/create-topics-v7.d.ts +42 -0
- package/dist/typescript-4/dist/apis/admin/delete-acls-v3.d.ts +36 -0
- package/dist/typescript-4/dist/apis/admin/delete-groups-v2.d.ts +14 -0
- package/dist/typescript-4/dist/apis/admin/delete-records-v2.d.ts +27 -0
- package/dist/typescript-4/dist/apis/admin/delete-topics-v6.d.ts +21 -0
- package/dist/typescript-4/dist/apis/admin/describe-acls-v3.d.ts +25 -0
- package/dist/typescript-4/dist/apis/admin/describe-client-quotas-v0.d.ts +36 -0
- package/dist/typescript-4/dist/apis/admin/describe-cluster-v1.d.ts +23 -0
- package/dist/typescript-4/dist/apis/admin/describe-configs-v2.d.ts +38 -0
- package/dist/typescript-4/dist/apis/admin/describe-configs-v3.d.ts +38 -0
- package/dist/typescript-4/dist/apis/admin/describe-configs-v4.d.ts +38 -0
- package/dist/typescript-4/dist/apis/admin/describe-delegation-token-v3.d.ts +31 -0
- package/dist/typescript-4/dist/apis/admin/describe-groups-v5.d.ts +28 -0
- package/dist/typescript-4/dist/apis/admin/describe-log-dirs-v4.d.ts +32 -0
- package/dist/typescript-4/dist/apis/admin/describe-producers-v0.d.ts +33 -0
- package/dist/typescript-4/dist/apis/admin/describe-quorum-v2.d.ts +50 -0
- package/dist/typescript-4/dist/apis/admin/describe-topic-partitions-v0.d.ts +42 -0
- package/dist/typescript-4/dist/apis/admin/describe-transactions-v0.d.ts +24 -0
- package/dist/typescript-4/dist/apis/admin/describe-user-scram-credentials-v0.d.ts +26 -0
- package/dist/typescript-4/dist/apis/admin/envelope-v0.d.ts +10 -0
- package/dist/typescript-4/dist/apis/admin/expire-delegation-token-v2.d.ts +11 -0
- package/dist/typescript-4/dist/apis/admin/incremental-alter-configs-v1.d.ts +27 -0
- package/dist/typescript-4/dist/apis/admin/index.d.ts +42 -0
- package/dist/typescript-4/dist/apis/admin/list-groups-v4.d.ts +17 -0
- package/dist/typescript-4/dist/apis/admin/list-groups-v5.d.ts +18 -0
- package/dist/typescript-4/dist/apis/admin/list-partition-reassignments-v0.d.ts +27 -0
- package/dist/typescript-4/dist/apis/admin/list-transactions-v1.d.ts +18 -0
- package/dist/typescript-4/dist/apis/admin/offset-delete-v0.d.ts +26 -0
- package/dist/typescript-4/dist/apis/admin/renew-delegation-token-v2.d.ts +11 -0
- package/dist/typescript-4/dist/apis/admin/unregister-broker-v0.d.ts +12 -0
- package/dist/typescript-4/dist/apis/admin/update-features-v1.d.ts +23 -0
- package/dist/typescript-4/dist/apis/callbacks.d.ts +9 -0
- package/dist/typescript-4/dist/apis/consumer/consumer-group-heartbeat-v0.d.ts +27 -0
- package/dist/typescript-4/dist/apis/consumer/fetch-v12.d.ts +46 -0
- package/dist/typescript-4/dist/apis/consumer/fetch-v13.d.ts +46 -0
- package/dist/typescript-4/dist/apis/consumer/fetch-v14.d.ts +46 -0
- package/dist/typescript-4/dist/apis/consumer/fetch-v15.d.ts +46 -0
- package/dist/typescript-4/dist/apis/consumer/fetch-v16.d.ts +46 -0
- package/dist/typescript-4/dist/apis/consumer/fetch-v17.d.ts +46 -0
- package/dist/typescript-4/dist/apis/consumer/heartbeat-v4.d.ts +11 -0
- package/dist/typescript-4/dist/apis/consumer/index.d.ts +18 -0
- package/dist/typescript-4/dist/apis/consumer/join-group-v9.d.ts +27 -0
- package/dist/typescript-4/dist/apis/consumer/leave-group-v5.d.ts +22 -0
- package/dist/typescript-4/dist/apis/consumer/list-offsets-v8.d.ts +30 -0
- package/dist/typescript-4/dist/apis/consumer/list-offsets-v9.d.ts +30 -0
- package/dist/typescript-4/dist/apis/consumer/offset-commit-v8.d.ts +29 -0
- package/dist/typescript-4/dist/apis/consumer/offset-commit-v9.d.ts +29 -0
- package/dist/typescript-4/dist/apis/consumer/offset-fetch-v8.d.ts +37 -0
- package/dist/typescript-4/dist/apis/consumer/offset-fetch-v9.d.ts +37 -0
- package/dist/typescript-4/dist/apis/consumer/offset-for-leader-epoch-v4.d.ts +29 -0
- package/dist/typescript-4/dist/apis/consumer/sync-group-v5.d.ts +18 -0
- package/dist/typescript-4/dist/apis/definitions.d.ts +17 -0
- package/dist/typescript-4/dist/apis/enumerations.d.ts +143 -0
- package/dist/typescript-4/dist/apis/index.d.ts +9 -0
- package/dist/typescript-4/dist/apis/metadata/api-versions-v3.d.ts +17 -0
- package/dist/typescript-4/dist/apis/metadata/api-versions-v4.d.ts +17 -0
- package/dist/typescript-4/dist/apis/metadata/find-coordinator-v4.d.ts +19 -0
- package/dist/typescript-4/dist/apis/metadata/find-coordinator-v5.d.ts +19 -0
- package/dist/typescript-4/dist/apis/metadata/find-coordinator-v6.d.ts +19 -0
- package/dist/typescript-4/dist/apis/metadata/index.d.ts +9 -0
- package/dist/typescript-4/dist/apis/metadata/metadata-v10.d.ts +37 -0
- package/dist/typescript-4/dist/apis/metadata/metadata-v11.d.ts +37 -0
- package/dist/typescript-4/dist/apis/metadata/metadata-v12.d.ts +37 -0
- package/dist/typescript-4/dist/apis/metadata/metadata-v9.d.ts +37 -0
- package/dist/typescript-4/dist/apis/producer/add-offsets-to-txn-v4.d.ts +10 -0
- package/dist/typescript-4/dist/apis/producer/add-partitions-to-txn-v5.d.ts +34 -0
- package/dist/typescript-4/dist/apis/producer/end-txn-v4.d.ts +10 -0
- package/dist/typescript-4/dist/apis/producer/index.d.ts +11 -0
- package/dist/typescript-4/dist/apis/producer/init-producer-id-v4.d.ts +21 -0
- package/dist/typescript-4/dist/apis/producer/init-producer-id-v5.d.ts +21 -0
- package/dist/typescript-4/dist/apis/producer/produce-v10.d.ts +29 -0
- package/dist/typescript-4/dist/apis/producer/produce-v11.d.ts +29 -0
- package/dist/typescript-4/dist/apis/producer/produce-v7.d.ts +29 -0
- package/dist/typescript-4/dist/apis/producer/produce-v8.d.ts +29 -0
- package/dist/typescript-4/dist/apis/producer/produce-v9.d.ts +29 -0
- package/dist/typescript-4/dist/apis/producer/txn-offset-commit-v4.d.ts +29 -0
- package/dist/typescript-4/dist/apis/security/index.d.ts +2 -0
- package/dist/typescript-4/dist/apis/security/sasl-authenticate-v2.d.ts +15 -0
- package/dist/typescript-4/dist/apis/security/sasl-handshake-v1.d.ts +10 -0
- package/dist/typescript-4/dist/apis/telemetry/get-telemetry-subscriptions-v0.d.ts +18 -0
- package/dist/typescript-4/dist/apis/telemetry/index.d.ts +3 -0
- package/dist/typescript-4/dist/apis/telemetry/list-client-metrics-resources-v0.d.ts +14 -0
- package/dist/typescript-4/dist/apis/telemetry/push-telemetry-v0.d.ts +10 -0
- package/dist/typescript-4/dist/clients/admin/admin.d.ts +30 -0
- package/dist/typescript-4/dist/clients/admin/index.d.ts +3 -0
- package/dist/typescript-4/dist/clients/admin/options.d.ts +330 -0
- package/dist/typescript-4/dist/clients/admin/types.d.ts +88 -0
- package/dist/typescript-4/dist/clients/base/base.d.ts +75 -0
- package/dist/typescript-4/dist/clients/base/index.d.ts +3 -0
- package/dist/typescript-4/dist/clients/base/options.d.ts +198 -0
- package/dist/typescript-4/dist/clients/base/types.d.ts +42 -0
- package/dist/typescript-4/dist/clients/consumer/consumer.d.ts +44 -0
- package/dist/typescript-4/dist/clients/consumer/index.d.ts +5 -0
- package/dist/typescript-4/dist/clients/consumer/messages-stream.d.ts +81 -0
- package/dist/typescript-4/dist/clients/consumer/options.d.ts +748 -0
- package/dist/typescript-4/dist/clients/consumer/partitions-assigners.d.ts +3 -0
- package/dist/typescript-4/dist/clients/consumer/topics-map.d.ts +11 -0
- package/dist/typescript-4/dist/clients/consumer/types.d.ts +100 -0
- package/dist/typescript-4/dist/clients/index.d.ts +5 -0
- package/dist/typescript-4/dist/clients/metrics.d.ts +60 -0
- package/dist/typescript-4/dist/clients/producer/index.d.ts +3 -0
- package/dist/typescript-4/dist/clients/producer/options.d.ts +164 -0
- package/dist/typescript-4/dist/clients/producer/producer.d.ts +16 -0
- package/dist/typescript-4/dist/clients/producer/types.d.ts +29 -0
- package/dist/typescript-4/dist/clients/serde.d.ts +42 -0
- package/dist/typescript-4/dist/diagnostic.d.ts +54 -0
- package/dist/typescript-4/dist/errors.d.ts +83 -0
- package/dist/typescript-4/dist/index.d.ts +7 -0
- package/dist/typescript-4/dist/network/connection-pool.d.ts +16 -0
- package/dist/typescript-4/dist/network/connection.d.ts +78 -0
- package/dist/typescript-4/dist/network/index.d.ts +3 -0
- package/dist/typescript-4/dist/network/utils.d.ts +2 -0
- package/dist/typescript-4/dist/protocol/apis.d.ts +2 -0
- package/dist/typescript-4/dist/protocol/compression.d.ts +79 -0
- package/dist/typescript-4/dist/protocol/crc32c.d.ts +4 -0
- package/dist/typescript-4/dist/protocol/definitions.d.ts +13 -0
- package/dist/typescript-4/dist/protocol/dynamic-buffer.d.ts +65 -0
- package/dist/typescript-4/dist/protocol/errors.d.ts +8 -0
- package/dist/typescript-4/dist/protocol/index.d.ts +15 -0
- package/dist/typescript-4/dist/protocol/murmur2.d.ts +1 -0
- package/dist/typescript-4/dist/protocol/reader.d.ts +61 -0
- package/dist/typescript-4/dist/protocol/records.d.ts +111 -0
- package/dist/typescript-4/dist/protocol/sasl/oauth-bearer.d.ts +6 -0
- package/dist/typescript-4/dist/protocol/sasl/plain.d.ts +5 -0
- package/dist/typescript-4/dist/protocol/sasl/scram-sha.d.ts +39 -0
- package/dist/typescript-4/dist/protocol/sasl/utils.d.ts +4 -0
- package/dist/typescript-4/dist/protocol/varint.d.ts +12 -0
- package/dist/typescript-4/dist/protocol/writer.d.ts +48 -0
- package/dist/typescript-4/dist/symbols.d.ts +3 -0
- package/dist/typescript-4/dist/utils.d.ts +37 -0
- package/dist/typescript-4/dist/version.d.ts +2 -0
- package/dist/utils.d.ts +6 -1
- package/dist/utils.js +3 -4
- package/dist/version.js +1 -1
- package/package.json +17 -2
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type NullableString } from "../../protocol/definitions";
|
|
2
|
+
import { type Reader } from "../../protocol/reader";
|
|
3
|
+
import { Writer } from "../../protocol/writer";
|
|
4
|
+
export type InitProducerIdRequest = Parameters<typeof createRequest>;
|
|
5
|
+
export interface InitProducerIdResponseCoordinator {
|
|
6
|
+
key: string;
|
|
7
|
+
nodeId: number;
|
|
8
|
+
host: string;
|
|
9
|
+
port: number;
|
|
10
|
+
errorCode: number;
|
|
11
|
+
errorMessage: NullableString;
|
|
12
|
+
}
|
|
13
|
+
export interface InitProducerIdResponse {
|
|
14
|
+
throttleTimeMs: number;
|
|
15
|
+
errorCode: number;
|
|
16
|
+
producerId: bigint;
|
|
17
|
+
producerEpoch: number;
|
|
18
|
+
}
|
|
19
|
+
export declare function createRequest(transactionalId: NullableString, transactionTimeoutMs: number, producerId: bigint, producerEpoch: number): Writer;
|
|
20
|
+
export declare function parseResponse(_correlationId: number, apiKey: number, apiVersion: number, reader: Reader): InitProducerIdResponse;
|
|
21
|
+
export declare const api: import("../definitions").API<[transactionalId: NullableString, transactionTimeoutMs: number, producerId: bigint, producerEpoch: number], InitProducerIdResponse>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type NullableString } from "../../protocol/definitions";
|
|
2
|
+
import { type Reader } from "../../protocol/reader";
|
|
3
|
+
import { type CreateRecordsBatchOptions, type MessageRecord } from "../../protocol/records";
|
|
4
|
+
import { Writer } from "../../protocol/writer";
|
|
5
|
+
export type ProduceRequest = Parameters<typeof createRequest>;
|
|
6
|
+
export interface ProduceResponsePartitionRecordError {
|
|
7
|
+
batchIndex: number;
|
|
8
|
+
batchIndexErrorMessage: NullableString;
|
|
9
|
+
}
|
|
10
|
+
export interface ProduceResponsePartition {
|
|
11
|
+
index: number;
|
|
12
|
+
errorCode: number;
|
|
13
|
+
baseOffset: bigint;
|
|
14
|
+
logAppendTimeMs: bigint;
|
|
15
|
+
logStartOffset: bigint;
|
|
16
|
+
recordErrors: ProduceResponsePartitionRecordError[];
|
|
17
|
+
errorMessage: NullableString;
|
|
18
|
+
}
|
|
19
|
+
export interface ProduceResponseTopic {
|
|
20
|
+
name: string;
|
|
21
|
+
partitionResponses: ProduceResponsePartition[];
|
|
22
|
+
}
|
|
23
|
+
export interface ProduceResponse {
|
|
24
|
+
responses: ProduceResponseTopic[];
|
|
25
|
+
throttleTimeMs: number;
|
|
26
|
+
}
|
|
27
|
+
export declare function createRequest(acks: number | undefined, timeout: number | undefined, topicData: MessageRecord[], options?: Partial<CreateRecordsBatchOptions>): Writer;
|
|
28
|
+
export declare function parseResponse(_correlationId: number, apiKey: number, apiVersion: number, reader: Reader): ProduceResponse;
|
|
29
|
+
export declare const api: import("../definitions").API<[acks: number | undefined, timeout: number | undefined, topicData: MessageRecord[], options?: Partial<CreateRecordsBatchOptions> | undefined], boolean | ProduceResponse>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type NullableString } from "../../protocol/definitions";
|
|
2
|
+
import { type Reader } from "../../protocol/reader";
|
|
3
|
+
import { type CreateRecordsBatchOptions, type MessageRecord } from "../../protocol/records";
|
|
4
|
+
import { Writer } from "../../protocol/writer";
|
|
5
|
+
export type ProduceRequest = Parameters<typeof createRequest>;
|
|
6
|
+
export interface ProduceResponsePartitionRecordError {
|
|
7
|
+
batchIndex: number;
|
|
8
|
+
batchIndexErrorMessage: NullableString;
|
|
9
|
+
}
|
|
10
|
+
export interface ProduceResponsePartition {
|
|
11
|
+
index: number;
|
|
12
|
+
errorCode: number;
|
|
13
|
+
baseOffset: bigint;
|
|
14
|
+
logAppendTimeMs: bigint;
|
|
15
|
+
logStartOffset: bigint;
|
|
16
|
+
recordErrors: ProduceResponsePartitionRecordError[];
|
|
17
|
+
errorMessage: NullableString;
|
|
18
|
+
}
|
|
19
|
+
export interface ProduceResponseTopic {
|
|
20
|
+
name: string;
|
|
21
|
+
partitionResponses: ProduceResponsePartition[];
|
|
22
|
+
}
|
|
23
|
+
export interface ProduceResponse {
|
|
24
|
+
responses: ProduceResponseTopic[];
|
|
25
|
+
throttleTimeMs: number;
|
|
26
|
+
}
|
|
27
|
+
export declare function createRequest(acks: number | undefined, timeout: number | undefined, topicData: MessageRecord[], options?: Partial<CreateRecordsBatchOptions>): Writer;
|
|
28
|
+
export declare function parseResponse(_correlationId: number, apiKey: number, apiVersion: number, reader: Reader): ProduceResponse;
|
|
29
|
+
export declare const api: import("../definitions").API<[acks: number | undefined, timeout: number | undefined, topicData: MessageRecord[], options?: Partial<CreateRecordsBatchOptions> | undefined], boolean | ProduceResponse>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type NullableString } from "../../protocol/definitions";
|
|
2
|
+
import { type Reader } from "../../protocol/reader";
|
|
3
|
+
import { type CreateRecordsBatchOptions, type MessageRecord } from "../../protocol/records";
|
|
4
|
+
import { Writer } from "../../protocol/writer";
|
|
5
|
+
export type ProduceRequest = Parameters<typeof createRequest>;
|
|
6
|
+
export interface ProduceResponsePartitionRecordError {
|
|
7
|
+
batchIndex: number;
|
|
8
|
+
batchIndexErrorMessage: NullableString;
|
|
9
|
+
}
|
|
10
|
+
export interface ProduceResponsePartition {
|
|
11
|
+
index: number;
|
|
12
|
+
errorCode: number;
|
|
13
|
+
baseOffset: bigint;
|
|
14
|
+
logAppendTimeMs: bigint;
|
|
15
|
+
logStartOffset: bigint;
|
|
16
|
+
recordErrors: ProduceResponsePartitionRecordError[];
|
|
17
|
+
errorMessage: NullableString;
|
|
18
|
+
}
|
|
19
|
+
export interface ProduceResponseTopic {
|
|
20
|
+
name: string;
|
|
21
|
+
partitionResponses: ProduceResponsePartition[];
|
|
22
|
+
}
|
|
23
|
+
export interface ProduceResponse {
|
|
24
|
+
responses: ProduceResponseTopic[];
|
|
25
|
+
throttleTimeMs: number;
|
|
26
|
+
}
|
|
27
|
+
export declare function createRequest(acks: number | undefined, timeout: number | undefined, topicData: MessageRecord[], options?: Partial<CreateRecordsBatchOptions>): Writer;
|
|
28
|
+
export declare function parseResponse(_correlationId: number, apiKey: number, apiVersion: number, reader: Reader): ProduceResponse;
|
|
29
|
+
export declare const api: import("../definitions").API<[acks: number | undefined, timeout: number | undefined, topicData: MessageRecord[], options?: Partial<CreateRecordsBatchOptions> | undefined], boolean | ProduceResponse>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type NullableString } from "../../protocol/definitions";
|
|
2
|
+
import { type Reader } from "../../protocol/reader";
|
|
3
|
+
import { type CreateRecordsBatchOptions, type MessageRecord } from "../../protocol/records";
|
|
4
|
+
import { Writer } from "../../protocol/writer";
|
|
5
|
+
export type ProduceRequest = Parameters<typeof createRequest>;
|
|
6
|
+
export interface ProduceResponsePartitionRecordError {
|
|
7
|
+
batchIndex: number;
|
|
8
|
+
batchIndexErrorMessage: NullableString;
|
|
9
|
+
}
|
|
10
|
+
export interface ProduceResponsePartition {
|
|
11
|
+
index: number;
|
|
12
|
+
errorCode: number;
|
|
13
|
+
baseOffset: bigint;
|
|
14
|
+
logAppendTimeMs: bigint;
|
|
15
|
+
logStartOffset: bigint;
|
|
16
|
+
recordErrors: ProduceResponsePartitionRecordError[];
|
|
17
|
+
errorMessage: NullableString;
|
|
18
|
+
}
|
|
19
|
+
export interface ProduceResponseTopic {
|
|
20
|
+
name: string;
|
|
21
|
+
partitionResponses: ProduceResponsePartition[];
|
|
22
|
+
}
|
|
23
|
+
export interface ProduceResponse {
|
|
24
|
+
responses: ProduceResponseTopic[];
|
|
25
|
+
throttleTimeMs: number;
|
|
26
|
+
}
|
|
27
|
+
export declare function createRequest(acks: number | undefined, timeout: number | undefined, topicData: MessageRecord[], options?: Partial<CreateRecordsBatchOptions>): Writer;
|
|
28
|
+
export declare function parseResponse(_correlationId: number, apiKey: number, apiVersion: number, reader: Reader): ProduceResponse;
|
|
29
|
+
export declare const api: import("../definitions").API<[acks: number | undefined, timeout: number | undefined, topicData: MessageRecord[], options?: Partial<CreateRecordsBatchOptions> | undefined], boolean | ProduceResponse>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type NullableString } from "../../protocol/definitions";
|
|
2
|
+
import { type Reader } from "../../protocol/reader";
|
|
3
|
+
import { type CreateRecordsBatchOptions, type MessageRecord } from "../../protocol/records";
|
|
4
|
+
import { Writer } from "../../protocol/writer";
|
|
5
|
+
export type ProduceRequest = Parameters<typeof createRequest>;
|
|
6
|
+
export interface ProduceResponsePartitionRecordError {
|
|
7
|
+
batchIndex: number;
|
|
8
|
+
batchIndexErrorMessage: NullableString;
|
|
9
|
+
}
|
|
10
|
+
export interface ProduceResponsePartition {
|
|
11
|
+
index: number;
|
|
12
|
+
errorCode: number;
|
|
13
|
+
baseOffset: bigint;
|
|
14
|
+
logAppendTimeMs: bigint;
|
|
15
|
+
logStartOffset: bigint;
|
|
16
|
+
recordErrors: ProduceResponsePartitionRecordError[];
|
|
17
|
+
errorMessage: NullableString;
|
|
18
|
+
}
|
|
19
|
+
export interface ProduceResponseTopic {
|
|
20
|
+
name: string;
|
|
21
|
+
partitionResponses: ProduceResponsePartition[];
|
|
22
|
+
}
|
|
23
|
+
export interface ProduceResponse {
|
|
24
|
+
responses: ProduceResponseTopic[];
|
|
25
|
+
throttleTimeMs: number;
|
|
26
|
+
}
|
|
27
|
+
export declare function createRequest(acks: number | undefined, timeout: number | undefined, topicData: MessageRecord[], options?: Partial<CreateRecordsBatchOptions>): Writer;
|
|
28
|
+
export declare function parseResponse(_correlationId: number, apiKey: number, apiVersion: number, reader: Reader): ProduceResponse;
|
|
29
|
+
export declare const api: import("../definitions").API<[acks: number | undefined, timeout: number | undefined, topicData: MessageRecord[], options?: Partial<CreateRecordsBatchOptions> | undefined], boolean | ProduceResponse>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type NullableString } from "../../protocol/definitions";
|
|
2
|
+
import { type Reader } from "../../protocol/reader";
|
|
3
|
+
import { Writer } from "../../protocol/writer";
|
|
4
|
+
export interface TxnOffsetCommitRequestPartition {
|
|
5
|
+
partitionIndex: number;
|
|
6
|
+
committedOffset: bigint;
|
|
7
|
+
committedLeaderEpoch: number;
|
|
8
|
+
committedMetadata?: NullableString;
|
|
9
|
+
}
|
|
10
|
+
export interface TxnOffsetCommitRequestTopic {
|
|
11
|
+
name: string;
|
|
12
|
+
partitions: TxnOffsetCommitRequestPartition[];
|
|
13
|
+
}
|
|
14
|
+
export type TxnOffsetCommitRequest = Parameters<typeof createRequest>;
|
|
15
|
+
export interface TxnOffsetCommitResponsePartition {
|
|
16
|
+
partitionIndex: number;
|
|
17
|
+
errorCode: number;
|
|
18
|
+
}
|
|
19
|
+
export interface TxnOffsetCommitResponseTopic {
|
|
20
|
+
name: string;
|
|
21
|
+
partitions: TxnOffsetCommitResponsePartition[];
|
|
22
|
+
}
|
|
23
|
+
export interface TxnOffsetCommitResponse {
|
|
24
|
+
throttleTimeMs: number;
|
|
25
|
+
topics: TxnOffsetCommitResponseTopic[];
|
|
26
|
+
}
|
|
27
|
+
export declare function createRequest(transactionalId: string, groupId: string, producerId: bigint, producerEpoch: number, generationId: number, memberId: string, groupInstanceId: NullableString, topics: TxnOffsetCommitRequestTopic[]): Writer;
|
|
28
|
+
export declare function parseResponse(_correlationId: number, apiKey: number, apiVersion: number, reader: Reader): TxnOffsetCommitResponse;
|
|
29
|
+
export declare const api: import("../definitions").API<[transactionalId: string, groupId: string, producerId: bigint, producerEpoch: number, generationId: number, memberId: string, groupInstanceId: NullableString, topics: TxnOffsetCommitRequestTopic[]], TxnOffsetCommitResponse>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type NullableString } from "../../protocol/definitions";
|
|
2
|
+
import { type Reader } from "../../protocol/reader";
|
|
3
|
+
import { Writer } from "../../protocol/writer";
|
|
4
|
+
import { type API } from "../definitions";
|
|
5
|
+
export type SaslAuthenticateRequest = Parameters<typeof createRequest>;
|
|
6
|
+
export interface SaslAuthenticateResponse {
|
|
7
|
+
errorCode: number;
|
|
8
|
+
errorMessage: NullableString;
|
|
9
|
+
authBytes: Buffer;
|
|
10
|
+
sessionLifetimeMs: bigint;
|
|
11
|
+
}
|
|
12
|
+
export type SASLAuthenticationAPI = API<[Buffer], SaslAuthenticateResponse>;
|
|
13
|
+
export declare function createRequest(authBytes: Buffer): Writer;
|
|
14
|
+
export declare function parseResponse(_correlationId: number, apiKey: number, apiVersion: number, reader: Reader): SaslAuthenticateResponse;
|
|
15
|
+
export declare const api: API<[authBytes: Buffer], SaslAuthenticateResponse>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type Reader } from "../../protocol/reader";
|
|
2
|
+
import { Writer } from "../../protocol/writer";
|
|
3
|
+
export type SaslHandshakeRequest = Parameters<typeof createRequest>;
|
|
4
|
+
export interface SaslHandshakeResponse {
|
|
5
|
+
errorCode: number;
|
|
6
|
+
mechanisms: string[];
|
|
7
|
+
}
|
|
8
|
+
export declare function createRequest(mechanism: string): Writer;
|
|
9
|
+
export declare function parseResponse(_correlationId: number, apiKey: number, apiVersion: number, reader: Reader): SaslHandshakeResponse;
|
|
10
|
+
export declare const api: import("../definitions").API<[mechanism: string], SaslHandshakeResponse>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type NullableString } from "../../protocol/definitions";
|
|
2
|
+
import { type Reader } from "../../protocol/reader";
|
|
3
|
+
import { Writer } from "../../protocol/writer";
|
|
4
|
+
export type GetTelemetrySubscriptionsRequest = Parameters<typeof createRequest>;
|
|
5
|
+
export interface GetTelemetrySubscriptionsResponse {
|
|
6
|
+
throttleTimeMs: number;
|
|
7
|
+
errorCode: number;
|
|
8
|
+
clientInstanceId: string;
|
|
9
|
+
subscriptionId: number;
|
|
10
|
+
acceptedCompressionTypes: number[];
|
|
11
|
+
pushIntervalMs: number;
|
|
12
|
+
telemetryMaxBytes: number;
|
|
13
|
+
deltaTemporality: boolean;
|
|
14
|
+
requestedMetrics: string[];
|
|
15
|
+
}
|
|
16
|
+
export declare function createRequest(clientInstanceId?: NullableString): Writer;
|
|
17
|
+
export declare function parseResponse(_correlationId: number, apiKey: number, apiVersion: number, reader: Reader): GetTelemetrySubscriptionsResponse;
|
|
18
|
+
export declare const api: import("../definitions").API<[clientInstanceId?: NullableString], GetTelemetrySubscriptionsResponse>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type Reader } from "../../protocol/reader";
|
|
2
|
+
import { Writer } from "../../protocol/writer";
|
|
3
|
+
export type ListClientMetricsResourcesRequest = Parameters<typeof createRequest>;
|
|
4
|
+
export interface ListClientMetricsResourcesResource {
|
|
5
|
+
name: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ListClientMetricsResourcesResponse {
|
|
8
|
+
throttleTimeMs: number;
|
|
9
|
+
errorCode: number;
|
|
10
|
+
clientMetricsResources: ListClientMetricsResourcesResource[];
|
|
11
|
+
}
|
|
12
|
+
export declare function createRequest(): Writer;
|
|
13
|
+
export declare function parseResponse(_correlationId: number, apiKey: number, apiVersion: number, reader: Reader): ListClientMetricsResourcesResponse;
|
|
14
|
+
export declare const api: import("../definitions").API<[], ListClientMetricsResourcesResponse>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type Reader } from "../../protocol/reader";
|
|
2
|
+
import { Writer } from "../../protocol/writer";
|
|
3
|
+
export type PushTelemetryRequest = Parameters<typeof createRequest>;
|
|
4
|
+
export interface PushTelemetryResponse {
|
|
5
|
+
throttleTimeMs: number;
|
|
6
|
+
errorCode: number;
|
|
7
|
+
}
|
|
8
|
+
export declare function createRequest(clientInstanceId: string, subscriptionId: number, terminating: boolean, compressionType: number, metrics: Buffer): Writer;
|
|
9
|
+
export declare function parseResponse(_correlationId: number, apiKey: number, apiVersion: number, reader: Reader): PushTelemetryResponse;
|
|
10
|
+
export declare const api: import("../definitions").API<[clientInstanceId: string, subscriptionId: number, terminating: boolean, compressionType: number, metrics: Buffer], PushTelemetryResponse>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type AlterClientQuotasResponseEntries } from "../../apis/admin/alter-client-quotas-v1";
|
|
2
|
+
import { type DescribeClientQuotasResponseEntry } from "../../apis/admin/describe-client-quotas-v0";
|
|
3
|
+
import { type CallbackWithPromise } from "../../apis/callbacks";
|
|
4
|
+
import { type Callback } from "../../apis/definitions";
|
|
5
|
+
import { Base } from "../base/base";
|
|
6
|
+
import { type AdminOptions, type AlterClientQuotasOptions, type BrokerLogDirDescription, type CreatedTopic, type CreateTopicsOptions, type DeleteGroupsOptions, type DeleteTopicsOptions, type DescribeClientQuotasOptions, type DescribeGroupsOptions, type DescribeLogDirsOptions, type Group, type GroupBase, type ListGroupsOptions, type ListTopicsOptions, type RemoveMembersFromConsumerGroupOptions } from "./types";
|
|
7
|
+
export declare class Admin extends Base<AdminOptions> {
|
|
8
|
+
#private;
|
|
9
|
+
constructor(options: AdminOptions);
|
|
10
|
+
listTopics(options: ListTopicsOptions, callback: Callback<string[]>): void;
|
|
11
|
+
listTopics(options?: ListTopicsOptions): Promise<string[]>;
|
|
12
|
+
createTopics(options: CreateTopicsOptions, callback: Callback<CreatedTopic[]>): void;
|
|
13
|
+
createTopics(options: CreateTopicsOptions): Promise<CreatedTopic[]>;
|
|
14
|
+
deleteTopics(options: DeleteTopicsOptions, callback: CallbackWithPromise<void>): void;
|
|
15
|
+
deleteTopics(options: DeleteTopicsOptions): Promise<void>;
|
|
16
|
+
listGroups(options: ListGroupsOptions, callback: CallbackWithPromise<Map<string, GroupBase>>): void;
|
|
17
|
+
listGroups(options?: ListGroupsOptions): Promise<Map<string, GroupBase>>;
|
|
18
|
+
describeGroups(options: DescribeGroupsOptions, callback: CallbackWithPromise<Map<string, Group>>): void;
|
|
19
|
+
describeGroups(options: DescribeGroupsOptions): Promise<Map<string, Group>>;
|
|
20
|
+
deleteGroups(options: DeleteGroupsOptions, callback: CallbackWithPromise<void>): void;
|
|
21
|
+
deleteGroups(options: DeleteGroupsOptions): Promise<void>;
|
|
22
|
+
removeMembersFromConsumerGroup(options: RemoveMembersFromConsumerGroupOptions, callback: CallbackWithPromise<void>): void;
|
|
23
|
+
removeMembersFromConsumerGroup(options: RemoveMembersFromConsumerGroupOptions): Promise<void>;
|
|
24
|
+
describeClientQuotas(options: DescribeClientQuotasOptions, callback: CallbackWithPromise<DescribeClientQuotasResponseEntry[]>): void;
|
|
25
|
+
describeClientQuotas(options: DescribeClientQuotasOptions): Promise<DescribeClientQuotasResponseEntry[]>;
|
|
26
|
+
alterClientQuotas(options: AlterClientQuotasOptions, callback: CallbackWithPromise<AlterClientQuotasResponseEntries[]>): void;
|
|
27
|
+
alterClientQuotas(options: AlterClientQuotasOptions): Promise<AlterClientQuotasResponseEntries[]>;
|
|
28
|
+
describeLogDirs(options: DescribeLogDirsOptions, callback: CallbackWithPromise<BrokerLogDirDescription[]>): void;
|
|
29
|
+
describeLogDirs(options: DescribeLogDirsOptions): Promise<BrokerLogDirDescription[]>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
export declare const groupsProperties: {
|
|
2
|
+
groups: {
|
|
3
|
+
type: string;
|
|
4
|
+
items: {
|
|
5
|
+
type: string;
|
|
6
|
+
pattern: string;
|
|
7
|
+
};
|
|
8
|
+
minItems: number;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare const createTopicOptionsSchema: {
|
|
12
|
+
type: string;
|
|
13
|
+
properties: {
|
|
14
|
+
topics: {
|
|
15
|
+
type: string;
|
|
16
|
+
items: {
|
|
17
|
+
type: string;
|
|
18
|
+
pattern: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
partitions: {
|
|
22
|
+
type: string;
|
|
23
|
+
};
|
|
24
|
+
replicas: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
assignments: {
|
|
28
|
+
type: string;
|
|
29
|
+
items: {
|
|
30
|
+
type: string;
|
|
31
|
+
properties: {
|
|
32
|
+
partition: {
|
|
33
|
+
type: string;
|
|
34
|
+
minimum: number;
|
|
35
|
+
};
|
|
36
|
+
brokers: {
|
|
37
|
+
type: string;
|
|
38
|
+
items: {
|
|
39
|
+
type: string;
|
|
40
|
+
};
|
|
41
|
+
minItems: number;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
required: string[];
|
|
45
|
+
additionalProperties: boolean;
|
|
46
|
+
};
|
|
47
|
+
minItems: number;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
required: string[];
|
|
51
|
+
additionalProperties: boolean;
|
|
52
|
+
};
|
|
53
|
+
export declare const listTopicOptionsSchema: {
|
|
54
|
+
type: string;
|
|
55
|
+
properties: {
|
|
56
|
+
includeInternals: {
|
|
57
|
+
type: string;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
additionalProperties: boolean;
|
|
62
|
+
};
|
|
63
|
+
export declare const deleteTopicOptionsSchema: {
|
|
64
|
+
type: string;
|
|
65
|
+
properties: {
|
|
66
|
+
topics: {
|
|
67
|
+
type: string;
|
|
68
|
+
items: {
|
|
69
|
+
type: string;
|
|
70
|
+
pattern: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
required: string[];
|
|
75
|
+
additionalProperties: boolean;
|
|
76
|
+
};
|
|
77
|
+
export declare const listGroupsOptionsSchema: {
|
|
78
|
+
type: string;
|
|
79
|
+
properties: {
|
|
80
|
+
states: {
|
|
81
|
+
type: string;
|
|
82
|
+
items: {
|
|
83
|
+
type: string;
|
|
84
|
+
enumeration: {
|
|
85
|
+
allowed: readonly ["PREPARING_REBALANCE", "COMPLETING_REBALANCE", "STABLE", "DEAD", "EMPTY"];
|
|
86
|
+
errorMessage: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
minItems: number;
|
|
90
|
+
};
|
|
91
|
+
types: {
|
|
92
|
+
type: string;
|
|
93
|
+
items: {
|
|
94
|
+
type: string;
|
|
95
|
+
pattern: string;
|
|
96
|
+
};
|
|
97
|
+
minItems: number;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
additionalProperties: boolean;
|
|
101
|
+
};
|
|
102
|
+
export declare const describeGroupsOptionsSchema: {
|
|
103
|
+
type: string;
|
|
104
|
+
properties: {
|
|
105
|
+
includeAuthorizedOperations: {
|
|
106
|
+
type: string;
|
|
107
|
+
};
|
|
108
|
+
groups: {
|
|
109
|
+
type: string;
|
|
110
|
+
items: {
|
|
111
|
+
type: string;
|
|
112
|
+
pattern: string;
|
|
113
|
+
};
|
|
114
|
+
minItems: number;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
required: string[];
|
|
118
|
+
additionalProperties: boolean;
|
|
119
|
+
};
|
|
120
|
+
export declare const deleteGroupsOptionsSchema: {
|
|
121
|
+
type: string;
|
|
122
|
+
properties: {
|
|
123
|
+
groups: {
|
|
124
|
+
type: string;
|
|
125
|
+
items: {
|
|
126
|
+
type: string;
|
|
127
|
+
pattern: string;
|
|
128
|
+
};
|
|
129
|
+
minItems: number;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
required: string[];
|
|
133
|
+
additionalProperties: boolean;
|
|
134
|
+
};
|
|
135
|
+
export declare const removeMembersFromConsumerGroupOptionsSchema: {
|
|
136
|
+
type: string;
|
|
137
|
+
properties: {
|
|
138
|
+
groupId: {
|
|
139
|
+
type: string;
|
|
140
|
+
pattern: string;
|
|
141
|
+
};
|
|
142
|
+
members: {
|
|
143
|
+
type: string[];
|
|
144
|
+
items: {
|
|
145
|
+
type: string;
|
|
146
|
+
properties: {
|
|
147
|
+
memberId: {
|
|
148
|
+
type: string;
|
|
149
|
+
pattern: string;
|
|
150
|
+
};
|
|
151
|
+
reason: {
|
|
152
|
+
type: string;
|
|
153
|
+
minLength: number;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
required: string[];
|
|
157
|
+
additionalProperties: boolean;
|
|
158
|
+
};
|
|
159
|
+
default: null;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
required: string[];
|
|
163
|
+
additionalProperties: boolean;
|
|
164
|
+
};
|
|
165
|
+
export declare const describeClientQuotasOptionsSchema: {
|
|
166
|
+
type: string;
|
|
167
|
+
properties: {
|
|
168
|
+
components: {
|
|
169
|
+
type: string;
|
|
170
|
+
items: {
|
|
171
|
+
type: string;
|
|
172
|
+
properties: {
|
|
173
|
+
entityType: {
|
|
174
|
+
type: string;
|
|
175
|
+
minLength: number;
|
|
176
|
+
};
|
|
177
|
+
matchType: {
|
|
178
|
+
type: string;
|
|
179
|
+
enum: (0 | 1 | 2)[];
|
|
180
|
+
};
|
|
181
|
+
match: {
|
|
182
|
+
type: string;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
required: string[];
|
|
186
|
+
additionalProperties: boolean;
|
|
187
|
+
};
|
|
188
|
+
minItems: number;
|
|
189
|
+
};
|
|
190
|
+
strict: {
|
|
191
|
+
type: string;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
required: string[];
|
|
195
|
+
additionalProperties: boolean;
|
|
196
|
+
};
|
|
197
|
+
export declare const alterClientQuotasOptionsSchema: {
|
|
198
|
+
type: string;
|
|
199
|
+
properties: {
|
|
200
|
+
entries: {
|
|
201
|
+
type: string;
|
|
202
|
+
items: {
|
|
203
|
+
type: string;
|
|
204
|
+
properties: {
|
|
205
|
+
entities: {
|
|
206
|
+
type: string;
|
|
207
|
+
items: {
|
|
208
|
+
type: string;
|
|
209
|
+
properties: {
|
|
210
|
+
entityType: {
|
|
211
|
+
type: string;
|
|
212
|
+
minLength: number;
|
|
213
|
+
};
|
|
214
|
+
entityName: {
|
|
215
|
+
type: string[];
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
required: string[];
|
|
219
|
+
additionalProperties: boolean;
|
|
220
|
+
};
|
|
221
|
+
minItems: number;
|
|
222
|
+
};
|
|
223
|
+
ops: {
|
|
224
|
+
type: string;
|
|
225
|
+
items: {
|
|
226
|
+
oneOf: ({
|
|
227
|
+
type: string;
|
|
228
|
+
properties: {
|
|
229
|
+
key: {
|
|
230
|
+
type: string;
|
|
231
|
+
minLength: number;
|
|
232
|
+
};
|
|
233
|
+
value: {
|
|
234
|
+
type: string;
|
|
235
|
+
};
|
|
236
|
+
remove: {
|
|
237
|
+
type: string;
|
|
238
|
+
const: boolean;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
required: string[];
|
|
242
|
+
additionalProperties: boolean;
|
|
243
|
+
} | {
|
|
244
|
+
type: string;
|
|
245
|
+
properties: {
|
|
246
|
+
key: {
|
|
247
|
+
type: string;
|
|
248
|
+
minLength: number;
|
|
249
|
+
};
|
|
250
|
+
remove: {
|
|
251
|
+
type: string;
|
|
252
|
+
const: boolean;
|
|
253
|
+
};
|
|
254
|
+
value?: undefined;
|
|
255
|
+
};
|
|
256
|
+
required: string[];
|
|
257
|
+
additionalProperties: boolean;
|
|
258
|
+
})[];
|
|
259
|
+
};
|
|
260
|
+
minItems: number;
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
required: string[];
|
|
264
|
+
additionalProperties: boolean;
|
|
265
|
+
};
|
|
266
|
+
minItems: number;
|
|
267
|
+
};
|
|
268
|
+
validateOnly: {
|
|
269
|
+
type: string;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
required: string[];
|
|
273
|
+
additionalProperties: boolean;
|
|
274
|
+
};
|
|
275
|
+
export declare const describeLogDirsOptionsSchema: {
|
|
276
|
+
type: string;
|
|
277
|
+
properties: {
|
|
278
|
+
topics: {
|
|
279
|
+
type: string;
|
|
280
|
+
items: {
|
|
281
|
+
type: string;
|
|
282
|
+
properties: {
|
|
283
|
+
name: {
|
|
284
|
+
type: string;
|
|
285
|
+
minLength: number;
|
|
286
|
+
};
|
|
287
|
+
partitions: {
|
|
288
|
+
type: string;
|
|
289
|
+
items: {
|
|
290
|
+
type: string;
|
|
291
|
+
minimum: number;
|
|
292
|
+
};
|
|
293
|
+
minItems: number;
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
required: string[];
|
|
297
|
+
additionalProperties: boolean;
|
|
298
|
+
};
|
|
299
|
+
minItems: number;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
required: string[];
|
|
303
|
+
additionalProperties: boolean;
|
|
304
|
+
};
|
|
305
|
+
export declare const createTopicsOptionsValidator: import("ajv").ValidateFunction<{
|
|
306
|
+
[x: string]: {};
|
|
307
|
+
}>;
|
|
308
|
+
export declare const listTopicsOptionsValidator: import("ajv").ValidateFunction<unknown>;
|
|
309
|
+
export declare const deleteTopicsOptionsValidator: import("ajv").ValidateFunction<{
|
|
310
|
+
[x: string]: {};
|
|
311
|
+
}>;
|
|
312
|
+
export declare const listGroupsOptionsValidator: import("ajv").ValidateFunction<unknown>;
|
|
313
|
+
export declare const describeGroupsOptionsValidator: import("ajv").ValidateFunction<{
|
|
314
|
+
[x: string]: {};
|
|
315
|
+
}>;
|
|
316
|
+
export declare const deleteGroupsOptionsValidator: import("ajv").ValidateFunction<{
|
|
317
|
+
[x: string]: {};
|
|
318
|
+
}>;
|
|
319
|
+
export declare const removeMembersFromConsumerGroupOptionsValidator: import("ajv").ValidateFunction<{
|
|
320
|
+
[x: string]: {};
|
|
321
|
+
}>;
|
|
322
|
+
export declare const describeClientQuotasOptionsValidator: import("ajv").ValidateFunction<{
|
|
323
|
+
[x: string]: {};
|
|
324
|
+
}>;
|
|
325
|
+
export declare const alterClientQuotasOptionsValidator: import("ajv").ValidateFunction<{
|
|
326
|
+
[x: string]: {};
|
|
327
|
+
}>;
|
|
328
|
+
export declare const describeLogDirsOptionsValidator: import("ajv").ValidateFunction<{
|
|
329
|
+
[x: string]: {};
|
|
330
|
+
}>;
|