@platformatic/kafka
Version:
Modern and performant client for Apache Kafka
298 lines (297 loc) • 8.92 kB
TypeScript
export declare const groupsProperties: {
groups: {
type: string;
items: {
type: string;
pattern: string;
};
minItems: number;
};
};
export declare const createTopicOptionsSchema: {
type: string;
properties: {
topics: {
type: string;
items: {
type: string;
pattern: string;
};
};
partitions: {
type: string;
};
replicas: {
type: string;
};
assignments: {
type: string;
items: {
type: string;
properties: {
partition: {
type: string;
minimum: number;
};
brokers: {
type: string;
items: {
type: string;
};
minItems: number;
};
};
required: string[];
additionalProperties: boolean;
};
minItems: number;
};
};
required: string[];
additionalProperties: boolean;
};
export declare const listTopicOptionsSchema: {
type: string;
properties: {
includeInternals: {
type: string;
default: boolean;
};
};
additionalProperties: boolean;
};
export declare const deleteTopicOptionsSchema: {
type: string;
properties: {
topics: {
type: string;
items: {
type: string;
pattern: string;
};
};
};
required: string[];
additionalProperties: boolean;
};
export declare const listGroupsOptionsSchema: {
type: string;
properties: {
states: {
type: string;
items: {
type: string;
enumeration: {
allowed: readonly ["PREPARING_REBALANCE", "COMPLETING_REBALANCE", "STABLE", "DEAD", "EMPTY"];
errorMessage: string;
};
};
minItems: number;
};
types: {
type: string;
items: {
type: string;
pattern: string;
};
minItems: number;
};
};
additionalProperties: boolean;
};
export declare const describeGroupsOptionsSchema: {
type: string;
properties: {
includeAuthorizedOperations: {
type: string;
};
groups: {
type: string;
items: {
type: string;
pattern: string;
};
minItems: number;
};
};
required: string[];
additionalProperties: boolean;
};
export declare const deleteGroupsOptionsSchema: {
type: string;
properties: {
groups: {
type: string;
items: {
type: string;
pattern: string;
};
minItems: number;
};
};
required: string[];
additionalProperties: boolean;
};
export declare const describeClientQuotasOptionsSchema: {
type: string;
properties: {
components: {
type: string;
items: {
type: string;
properties: {
entityType: {
type: string;
minLength: number;
};
matchType: {
type: string;
enum: (0 | 1 | 2)[];
};
match: {
type: string;
};
};
required: string[];
additionalProperties: boolean;
};
minItems: number;
};
strict: {
type: string;
};
};
required: string[];
additionalProperties: boolean;
};
export declare const alterClientQuotasOptionsSchema: {
type: string;
properties: {
entries: {
type: string;
items: {
type: string;
properties: {
entities: {
type: string;
items: {
type: string;
properties: {
entityType: {
type: string;
minLength: number;
};
entityName: {
type: string[];
};
};
required: string[];
additionalProperties: boolean;
};
minItems: number;
};
ops: {
type: string;
items: {
oneOf: ({
type: string;
properties: {
key: {
type: string;
minLength: number;
};
value: {
type: string;
};
remove: {
type: string;
const: boolean;
};
};
required: string[];
additionalProperties: boolean;
} | {
type: string;
properties: {
key: {
type: string;
minLength: number;
};
remove: {
type: string;
const: boolean;
};
value?: undefined;
};
required: string[];
additionalProperties: boolean;
})[];
};
minItems: number;
};
};
required: string[];
additionalProperties: boolean;
};
minItems: number;
};
validateOnly: {
type: string;
};
};
required: string[];
additionalProperties: boolean;
};
export declare const describeLogDirsOptionsSchema: {
type: string;
properties: {
topics: {
type: string;
items: {
type: string;
properties: {
name: {
type: string;
minLength: number;
};
partitions: {
type: string;
items: {
type: string;
minimum: number;
};
minItems: number;
};
};
required: string[];
additionalProperties: boolean;
};
minItems: number;
};
};
required: string[];
additionalProperties: boolean;
};
export declare const createTopicsOptionsValidator: import("ajv").ValidateFunction<{
[x: string]: {};
}>;
export declare const listTopicsOptionsValidator: import("ajv").ValidateFunction<unknown>;
export declare const deleteTopicsOptionsValidator: import("ajv").ValidateFunction<{
[x: string]: {};
}>;
export declare const listGroupsOptionsValidator: import("ajv").ValidateFunction<unknown>;
export declare const describeGroupsOptionsValidator: import("ajv").ValidateFunction<{
[x: string]: {};
}>;
export declare const deleteGroupsOptionsValidator: import("ajv").ValidateFunction<{
[x: string]: {};
}>;
export declare const describeClientQuotasOptionsValidator: import("ajv").ValidateFunction<{
[x: string]: {};
}>;
export declare const alterClientQuotasOptionsValidator: import("ajv").ValidateFunction<{
[x: string]: {};
}>;
export declare const describeLogDirsOptionsValidator: import("ajv").ValidateFunction<{
[x: string]: {};
}>;