1 | "use strict";
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | Object.defineProperty(exports, "__esModule", { value: true });
|
11 | exports.CompressionCodecs = exports.CompressionTypes = exports.logLevel = exports.AssignerProtocol = exports.PartitionAssigners = exports.ResourcePatternTypes = exports.AclOperationTypes = exports.AclPermissionTypes = exports.ConfigSource = exports.ConfigResourceTypes = exports.AclResourceTypes = exports.Partitioners = void 0;
|
12 | var AclResourceTypes;
|
13 | (function (AclResourceTypes) {
|
14 | AclResourceTypes[AclResourceTypes["UNKNOWN"] = 0] = "UNKNOWN";
|
15 | AclResourceTypes[AclResourceTypes["ANY"] = 1] = "ANY";
|
16 | AclResourceTypes[AclResourceTypes["TOPIC"] = 2] = "TOPIC";
|
17 | AclResourceTypes[AclResourceTypes["GROUP"] = 3] = "GROUP";
|
18 | AclResourceTypes[AclResourceTypes["CLUSTER"] = 4] = "CLUSTER";
|
19 | AclResourceTypes[AclResourceTypes["TRANSACTIONAL_ID"] = 5] = "TRANSACTIONAL_ID";
|
20 | AclResourceTypes[AclResourceTypes["DELEGATION_TOKEN"] = 6] = "DELEGATION_TOKEN";
|
21 | })(AclResourceTypes || (exports.AclResourceTypes = AclResourceTypes = {}));
|
22 | var ConfigResourceTypes;
|
23 | (function (ConfigResourceTypes) {
|
24 | ConfigResourceTypes[ConfigResourceTypes["UNKNOWN"] = 0] = "UNKNOWN";
|
25 | ConfigResourceTypes[ConfigResourceTypes["TOPIC"] = 2] = "TOPIC";
|
26 | ConfigResourceTypes[ConfigResourceTypes["BROKER"] = 4] = "BROKER";
|
27 | ConfigResourceTypes[ConfigResourceTypes["BROKER_LOGGER"] = 8] = "BROKER_LOGGER";
|
28 | })(ConfigResourceTypes || (exports.ConfigResourceTypes = ConfigResourceTypes = {}));
|
29 | var ConfigSource;
|
30 | (function (ConfigSource) {
|
31 | ConfigSource[ConfigSource["UNKNOWN"] = 0] = "UNKNOWN";
|
32 | ConfigSource[ConfigSource["TOPIC_CONFIG"] = 1] = "TOPIC_CONFIG";
|
33 | ConfigSource[ConfigSource["DYNAMIC_BROKER_CONFIG"] = 2] = "DYNAMIC_BROKER_CONFIG";
|
34 | ConfigSource[ConfigSource["DYNAMIC_DEFAULT_BROKER_CONFIG"] = 3] = "DYNAMIC_DEFAULT_BROKER_CONFIG";
|
35 | ConfigSource[ConfigSource["STATIC_BROKER_CONFIG"] = 4] = "STATIC_BROKER_CONFIG";
|
36 | ConfigSource[ConfigSource["DEFAULT_CONFIG"] = 5] = "DEFAULT_CONFIG";
|
37 | ConfigSource[ConfigSource["DYNAMIC_BROKER_LOGGER_CONFIG"] = 6] = "DYNAMIC_BROKER_LOGGER_CONFIG";
|
38 | })(ConfigSource || (exports.ConfigSource = ConfigSource = {}));
|
39 | var AclPermissionTypes;
|
40 | (function (AclPermissionTypes) {
|
41 | AclPermissionTypes[AclPermissionTypes["UNKNOWN"] = 0] = "UNKNOWN";
|
42 | AclPermissionTypes[AclPermissionTypes["ANY"] = 1] = "ANY";
|
43 | AclPermissionTypes[AclPermissionTypes["DENY"] = 2] = "DENY";
|
44 | AclPermissionTypes[AclPermissionTypes["ALLOW"] = 3] = "ALLOW";
|
45 | })(AclPermissionTypes || (exports.AclPermissionTypes = AclPermissionTypes = {}));
|
46 | var AclOperationTypes;
|
47 | (function (AclOperationTypes) {
|
48 | AclOperationTypes[AclOperationTypes["UNKNOWN"] = 0] = "UNKNOWN";
|
49 | AclOperationTypes[AclOperationTypes["ANY"] = 1] = "ANY";
|
50 | AclOperationTypes[AclOperationTypes["ALL"] = 2] = "ALL";
|
51 | AclOperationTypes[AclOperationTypes["READ"] = 3] = "READ";
|
52 | AclOperationTypes[AclOperationTypes["WRITE"] = 4] = "WRITE";
|
53 | AclOperationTypes[AclOperationTypes["CREATE"] = 5] = "CREATE";
|
54 | AclOperationTypes[AclOperationTypes["DELETE"] = 6] = "DELETE";
|
55 | AclOperationTypes[AclOperationTypes["ALTER"] = 7] = "ALTER";
|
56 | AclOperationTypes[AclOperationTypes["DESCRIBE"] = 8] = "DESCRIBE";
|
57 | AclOperationTypes[AclOperationTypes["CLUSTER_ACTION"] = 9] = "CLUSTER_ACTION";
|
58 | AclOperationTypes[AclOperationTypes["DESCRIBE_CONFIGS"] = 10] = "DESCRIBE_CONFIGS";
|
59 | AclOperationTypes[AclOperationTypes["ALTER_CONFIGS"] = 11] = "ALTER_CONFIGS";
|
60 | AclOperationTypes[AclOperationTypes["IDEMPOTENT_WRITE"] = 12] = "IDEMPOTENT_WRITE";
|
61 | })(AclOperationTypes || (exports.AclOperationTypes = AclOperationTypes = {}));
|
62 | var ResourcePatternTypes;
|
63 | (function (ResourcePatternTypes) {
|
64 | ResourcePatternTypes[ResourcePatternTypes["UNKNOWN"] = 0] = "UNKNOWN";
|
65 | ResourcePatternTypes[ResourcePatternTypes["ANY"] = 1] = "ANY";
|
66 | ResourcePatternTypes[ResourcePatternTypes["MATCH"] = 2] = "MATCH";
|
67 | ResourcePatternTypes[ResourcePatternTypes["LITERAL"] = 3] = "LITERAL";
|
68 | ResourcePatternTypes[ResourcePatternTypes["PREFIXED"] = 4] = "PREFIXED";
|
69 | })(ResourcePatternTypes || (exports.ResourcePatternTypes = ResourcePatternTypes = {}));
|
70 | var logLevel;
|
71 | (function (logLevel) {
|
72 | logLevel[logLevel["NOTHING"] = 0] = "NOTHING";
|
73 | logLevel[logLevel["ERROR"] = 1] = "ERROR";
|
74 | logLevel[logLevel["WARN"] = 2] = "WARN";
|
75 | logLevel[logLevel["INFO"] = 4] = "INFO";
|
76 | logLevel[logLevel["DEBUG"] = 5] = "DEBUG";
|
77 | })(logLevel || (exports.logLevel = logLevel = {}));
|
78 | var CompressionTypes;
|
79 | (function (CompressionTypes) {
|
80 | CompressionTypes[CompressionTypes["None"] = 0] = "None";
|
81 | CompressionTypes[CompressionTypes["GZIP"] = 1] = "GZIP";
|
82 | CompressionTypes[CompressionTypes["Snappy"] = 2] = "Snappy";
|
83 | CompressionTypes[CompressionTypes["LZ4"] = 3] = "LZ4";
|
84 | CompressionTypes[CompressionTypes["ZSTD"] = 4] = "ZSTD";
|
85 | })(CompressionTypes || (exports.CompressionTypes = CompressionTypes = {}));
|