rocketmq-client-nodejs 1.0.2 → 1.0.5
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/README.md +84 -1
- package/dist/client/BaseClient.d.ts +24 -2
- package/dist/client/BaseClient.js +173 -28
- package/dist/client/ClientId.js +2 -2
- package/dist/client/Logger.d.ts +1 -0
- package/dist/client/Logger.js +1 -1
- package/dist/client/RpcClient.d.ts +3 -1
- package/dist/client/RpcClient.js +23 -1
- package/dist/client/RpcClientManager.d.ts +3 -1
- package/dist/client/RpcClientManager.js +23 -4
- package/dist/client/TelemetrySession.d.ts +1 -0
- package/dist/client/TelemetrySession.js +47 -9
- package/dist/consumer/Assignment.d.ts +24 -0
- package/dist/consumer/Assignment.js +40 -0
- package/dist/consumer/Assignments.d.ts +25 -0
- package/dist/consumer/Assignments.js +55 -0
- package/dist/consumer/ConsumeResult.d.ts +20 -0
- package/dist/consumer/ConsumeResult.js +25 -0
- package/dist/consumer/ConsumeService.d.ts +28 -0
- package/dist/consumer/ConsumeService.js +53 -0
- package/dist/consumer/ConsumeTask.d.ts +24 -0
- package/dist/consumer/ConsumeTask.js +39 -0
- package/dist/consumer/Consumer.d.ts +19 -1
- package/dist/consumer/Consumer.js +64 -21
- package/dist/consumer/FifoConsumeService.d.ts +25 -0
- package/dist/consumer/FifoConsumeService.js +130 -0
- package/dist/consumer/FilterExpression.d.ts +2 -0
- package/dist/consumer/FilterExpression.js +18 -1
- package/dist/consumer/LitePushConsumer.d.ts +161 -0
- package/dist/consumer/LitePushConsumer.js +172 -0
- package/dist/consumer/LitePushConsumerImpl.d.ts +167 -0
- package/dist/consumer/LitePushConsumerImpl.js +193 -0
- package/dist/consumer/LiteSubscriptionManager.d.ts +97 -0
- package/dist/consumer/LiteSubscriptionManager.js +236 -0
- package/dist/consumer/MessageListener.d.ts +21 -0
- package/dist/consumer/MessageListener.js +19 -0
- package/dist/consumer/OffsetOption.d.ts +109 -0
- package/dist/consumer/OffsetOption.js +191 -0
- package/dist/consumer/ProcessQueue.d.ts +39 -0
- package/dist/consumer/ProcessQueue.js +293 -0
- package/dist/consumer/PushConsumer.d.ts +88 -0
- package/dist/consumer/PushConsumer.js +449 -0
- package/dist/consumer/PushSubscriptionSettings.d.ts +31 -0
- package/dist/consumer/PushSubscriptionSettings.js +97 -0
- package/dist/consumer/SimpleConsumer.d.ts +12 -1
- package/dist/consumer/SimpleConsumer.js +54 -10
- package/dist/consumer/SimpleSubscriptionSettings.d.ts +2 -2
- package/dist/consumer/SimpleSubscriptionSettings.js +3 -3
- package/dist/consumer/StandardConsumeService.d.ts +25 -0
- package/dist/consumer/StandardConsumeService.js +50 -0
- package/dist/consumer/index.d.ts +15 -0
- package/dist/consumer/index.js +19 -1
- package/dist/exception/InternalErrorException.d.ts +5 -0
- package/dist/exception/InternalErrorException.js +10 -1
- package/dist/exception/LiteSubscriptionQuotaExceededException.d.ts +23 -0
- package/dist/exception/LiteSubscriptionQuotaExceededException.js +31 -0
- package/dist/exception/LiteTopicQuotaExceededException.d.ts +23 -0
- package/dist/exception/LiteTopicQuotaExceededException.js +31 -0
- package/dist/exception/StatusChecker.js +4 -1
- package/dist/exception/index.d.ts +2 -0
- package/dist/exception/index.js +3 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/message/Message.d.ts +8 -0
- package/dist/message/Message.js +39 -6
- package/dist/message/MessageId.d.ts +2 -0
- package/dist/message/MessageId.js +17 -1
- package/dist/message/MessageView.d.ts +86 -0
- package/dist/message/MessageView.js +115 -1
- package/dist/message/PublishingMessage.js +21 -5
- package/dist/producer/Producer.d.ts +21 -2
- package/dist/producer/Producer.js +120 -25
- package/dist/producer/PublishingLoadBalancer.d.ts +2 -0
- package/dist/producer/PublishingLoadBalancer.js +23 -1
- package/dist/producer/RecallReceipt.d.ts +25 -0
- package/dist/producer/RecallReceipt.js +34 -0
- package/dist/producer/SendReceipt.d.ts +2 -1
- package/dist/producer/SendReceipt.js +6 -3
- package/dist/producer/Transaction.js +7 -1
- package/dist/producer/index.d.ts +1 -0
- package/dist/producer/index.js +2 -1
- package/dist/route/Broker.d.ts +2 -0
- package/dist/route/Broker.js +21 -1
- package/dist/route/Endpoints.d.ts +2 -0
- package/dist/route/Endpoints.js +36 -1
- package/dist/route/MessageQueue.d.ts +2 -0
- package/dist/route/MessageQueue.js +23 -1
- package/dist/route/Resource.d.ts +54 -0
- package/dist/route/Resource.js +100 -0
- package/dist/route/TopicRouteData.d.ts +12 -0
- package/dist/route/TopicRouteData.js +37 -1
- package/dist/route/index.d.ts +1 -0
- package/dist/route/index.js +2 -1
- package/dist/util/index.d.ts +8 -0
- package/dist/util/index.js +20 -1
- package/package.json +2 -3
- package/proto/apache/rocketmq/v2/definition.proto +56 -0
- package/proto/apache/rocketmq/v2/definition_pb.d.ts +100 -0
- package/proto/apache/rocketmq/v2/definition_pb.js +570 -4
- package/proto/apache/rocketmq/v2/service.proto +65 -0
- package/proto/apache/rocketmq/v2/service_grpc_pb.d.ts +34 -0
- package/proto/apache/rocketmq/v2/service_grpc_pb.js +81 -4
- package/proto/apache/rocketmq/v2/service_pb.d.ts +211 -0
- package/proto/apache/rocketmq/v2/service_pb.js +1691 -25
- package/src/client/BaseClient.ts +196 -28
- package/src/client/ClientId.ts +1 -1
- package/src/client/Logger.ts +1 -0
- package/src/client/RpcClient.ts +26 -0
- package/src/client/RpcClientManager.ts +27 -3
- package/src/client/TelemetrySession.ts +54 -8
- package/src/consumer/Assignment.ts +40 -0
- package/src/consumer/Assignments.ts +55 -0
- package/src/consumer/ConsumeResult.ts +21 -0
- package/src/consumer/ConsumeService.ts +72 -0
- package/src/consumer/ConsumeTask.ts +39 -0
- package/src/consumer/Consumer.ts +76 -20
- package/src/consumer/FifoConsumeService.ts +146 -0
- package/src/consumer/FilterExpression.ts +17 -0
- package/src/consumer/LitePushConsumer.ts +256 -0
- package/src/consumer/LitePushConsumerImpl.ts +245 -0
- package/src/consumer/LiteSubscriptionManager.ts +352 -0
- package/src/consumer/MessageListener.ts +23 -0
- package/src/consumer/OffsetOption.ts +203 -0
- package/src/consumer/ProcessQueue.ts +339 -0
- package/src/consumer/PushConsumer.ts +563 -0
- package/src/consumer/PushSubscriptionSettings.ts +124 -0
- package/src/consumer/SimpleConsumer.ts +68 -11
- package/src/consumer/SimpleSubscriptionSettings.ts +2 -2
- package/src/consumer/StandardConsumeService.ts +57 -0
- package/src/consumer/index.ts +15 -0
- package/src/exception/InternalErrorException.ts +10 -0
- package/src/exception/LiteSubscriptionQuotaExceededException.ts +28 -0
- package/src/exception/LiteTopicQuotaExceededException.ts +28 -0
- package/src/exception/StatusChecker.ts +3 -0
- package/src/exception/index.ts +2 -0
- package/src/index.ts +1 -0
- package/src/message/Message.ts +46 -5
- package/src/message/MessageId.ts +16 -0
- package/src/message/MessageView.ts +127 -0
- package/src/message/PublishingMessage.ts +20 -4
- package/src/producer/Producer.ts +144 -24
- package/src/producer/PublishingLoadBalancer.ts +21 -0
- package/src/producer/RecallReceipt.ts +32 -0
- package/src/producer/SendReceipt.ts +5 -2
- package/src/producer/Transaction.ts +16 -0
- package/src/producer/index.ts +1 -0
- package/src/route/Broker.ts +20 -0
- package/src/route/Endpoints.ts +32 -0
- package/src/route/MessageQueue.ts +23 -1
- package/src/route/Resource.ts +104 -0
- package/src/route/TopicRouteData.ts +37 -0
- package/src/route/index.ts +1 -0
- package/src/util/index.ts +19 -0
|
@@ -41,10 +41,14 @@ goog.exportSymbol('proto.apache.rocketmq.v2.ExponentialBackoff', null, global);
|
|
|
41
41
|
goog.exportSymbol('proto.apache.rocketmq.v2.FilterExpression', null, global);
|
|
42
42
|
goog.exportSymbol('proto.apache.rocketmq.v2.FilterType', null, global);
|
|
43
43
|
goog.exportSymbol('proto.apache.rocketmq.v2.Language', null, global);
|
|
44
|
+
goog.exportSymbol('proto.apache.rocketmq.v2.LiteSubscriptionAction', null, global);
|
|
44
45
|
goog.exportSymbol('proto.apache.rocketmq.v2.Message', null, global);
|
|
45
46
|
goog.exportSymbol('proto.apache.rocketmq.v2.MessageQueue', null, global);
|
|
46
47
|
goog.exportSymbol('proto.apache.rocketmq.v2.MessageType', null, global);
|
|
47
48
|
goog.exportSymbol('proto.apache.rocketmq.v2.Metric', null, global);
|
|
49
|
+
goog.exportSymbol('proto.apache.rocketmq.v2.OffsetOption', null, global);
|
|
50
|
+
goog.exportSymbol('proto.apache.rocketmq.v2.OffsetOption.OffsetTypeCase', null, global);
|
|
51
|
+
goog.exportSymbol('proto.apache.rocketmq.v2.OffsetOption.Policy', null, global);
|
|
48
52
|
goog.exportSymbol('proto.apache.rocketmq.v2.Permission', null, global);
|
|
49
53
|
goog.exportSymbol('proto.apache.rocketmq.v2.Publishing', null, global);
|
|
50
54
|
goog.exportSymbol('proto.apache.rocketmq.v2.QueryOffsetPolicy', null, global);
|
|
@@ -501,6 +505,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
501
505
|
*/
|
|
502
506
|
proto.apache.rocketmq.v2.Metric.displayName = 'proto.apache.rocketmq.v2.Metric';
|
|
503
507
|
}
|
|
508
|
+
/**
|
|
509
|
+
* Generated by JsPbCodeGenerator.
|
|
510
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
511
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
512
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
513
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
514
|
+
* valid.
|
|
515
|
+
* @extends {jspb.Message}
|
|
516
|
+
* @constructor
|
|
517
|
+
*/
|
|
518
|
+
proto.apache.rocketmq.v2.OffsetOption = function(opt_data) {
|
|
519
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.apache.rocketmq.v2.OffsetOption.oneofGroups_);
|
|
520
|
+
};
|
|
521
|
+
goog.inherits(proto.apache.rocketmq.v2.OffsetOption, jspb.Message);
|
|
522
|
+
if (goog.DEBUG && !COMPILED) {
|
|
523
|
+
/**
|
|
524
|
+
* @public
|
|
525
|
+
* @override
|
|
526
|
+
*/
|
|
527
|
+
proto.apache.rocketmq.v2.OffsetOption.displayName = 'proto.apache.rocketmq.v2.OffsetOption';
|
|
528
|
+
}
|
|
504
529
|
|
|
505
530
|
|
|
506
531
|
|
|
@@ -2772,7 +2797,9 @@ proto.apache.rocketmq.v2.SystemProperties.toObject = function(includeInstance, m
|
|
|
2772
2797
|
messageGroup: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
2773
2798
|
traceContext: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
2774
2799
|
orphanedTransactionRecoveryDuration: (f = msg.getOrphanedTransactionRecoveryDuration()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f),
|
|
2775
|
-
deadLetterQueue: (f = msg.getDeadLetterQueue()) && proto.apache.rocketmq.v2.DeadLetterQueue.toObject(includeInstance, f)
|
|
2800
|
+
deadLetterQueue: (f = msg.getDeadLetterQueue()) && proto.apache.rocketmq.v2.DeadLetterQueue.toObject(includeInstance, f),
|
|
2801
|
+
liteTopic: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
2802
|
+
priority: jspb.Message.getFieldWithDefault(msg, 22, 0)
|
|
2776
2803
|
};
|
|
2777
2804
|
|
|
2778
2805
|
if (includeInstance) {
|
|
@@ -2896,6 +2923,14 @@ proto.apache.rocketmq.v2.SystemProperties.deserializeBinaryFromReader = function
|
|
|
2896
2923
|
reader.readMessage(value,proto.apache.rocketmq.v2.DeadLetterQueue.deserializeBinaryFromReader);
|
|
2897
2924
|
msg.setDeadLetterQueue(value);
|
|
2898
2925
|
break;
|
|
2926
|
+
case 21:
|
|
2927
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2928
|
+
msg.setLiteTopic(value);
|
|
2929
|
+
break;
|
|
2930
|
+
case 22:
|
|
2931
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2932
|
+
msg.setPriority(value);
|
|
2933
|
+
break;
|
|
2899
2934
|
default:
|
|
2900
2935
|
reader.skipField();
|
|
2901
2936
|
break;
|
|
@@ -3072,6 +3107,20 @@ proto.apache.rocketmq.v2.SystemProperties.serializeBinaryToWriter = function(mes
|
|
|
3072
3107
|
proto.apache.rocketmq.v2.DeadLetterQueue.serializeBinaryToWriter
|
|
3073
3108
|
);
|
|
3074
3109
|
}
|
|
3110
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 21));
|
|
3111
|
+
if (f != null) {
|
|
3112
|
+
writer.writeString(
|
|
3113
|
+
21,
|
|
3114
|
+
f
|
|
3115
|
+
);
|
|
3116
|
+
}
|
|
3117
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 22));
|
|
3118
|
+
if (f != null) {
|
|
3119
|
+
writer.writeInt32(
|
|
3120
|
+
22,
|
|
3121
|
+
f
|
|
3122
|
+
);
|
|
3123
|
+
}
|
|
3075
3124
|
};
|
|
3076
3125
|
|
|
3077
3126
|
|
|
@@ -3695,6 +3744,78 @@ proto.apache.rocketmq.v2.SystemProperties.prototype.hasDeadLetterQueue = functio
|
|
|
3695
3744
|
};
|
|
3696
3745
|
|
|
3697
3746
|
|
|
3747
|
+
/**
|
|
3748
|
+
* optional string lite_topic = 21;
|
|
3749
|
+
* @return {string}
|
|
3750
|
+
*/
|
|
3751
|
+
proto.apache.rocketmq.v2.SystemProperties.prototype.getLiteTopic = function() {
|
|
3752
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
3753
|
+
};
|
|
3754
|
+
|
|
3755
|
+
|
|
3756
|
+
/**
|
|
3757
|
+
* @param {string} value
|
|
3758
|
+
* @return {!proto.apache.rocketmq.v2.SystemProperties} returns this
|
|
3759
|
+
*/
|
|
3760
|
+
proto.apache.rocketmq.v2.SystemProperties.prototype.setLiteTopic = function(value) {
|
|
3761
|
+
return jspb.Message.setField(this, 21, value);
|
|
3762
|
+
};
|
|
3763
|
+
|
|
3764
|
+
|
|
3765
|
+
/**
|
|
3766
|
+
* Clears the field making it undefined.
|
|
3767
|
+
* @return {!proto.apache.rocketmq.v2.SystemProperties} returns this
|
|
3768
|
+
*/
|
|
3769
|
+
proto.apache.rocketmq.v2.SystemProperties.prototype.clearLiteTopic = function() {
|
|
3770
|
+
return jspb.Message.setField(this, 21, undefined);
|
|
3771
|
+
};
|
|
3772
|
+
|
|
3773
|
+
|
|
3774
|
+
/**
|
|
3775
|
+
* Returns whether this field is set.
|
|
3776
|
+
* @return {boolean}
|
|
3777
|
+
*/
|
|
3778
|
+
proto.apache.rocketmq.v2.SystemProperties.prototype.hasLiteTopic = function() {
|
|
3779
|
+
return jspb.Message.getField(this, 21) != null;
|
|
3780
|
+
};
|
|
3781
|
+
|
|
3782
|
+
|
|
3783
|
+
/**
|
|
3784
|
+
* optional int32 priority = 22;
|
|
3785
|
+
* @return {number}
|
|
3786
|
+
*/
|
|
3787
|
+
proto.apache.rocketmq.v2.SystemProperties.prototype.getPriority = function() {
|
|
3788
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 22, 0));
|
|
3789
|
+
};
|
|
3790
|
+
|
|
3791
|
+
|
|
3792
|
+
/**
|
|
3793
|
+
* @param {number} value
|
|
3794
|
+
* @return {!proto.apache.rocketmq.v2.SystemProperties} returns this
|
|
3795
|
+
*/
|
|
3796
|
+
proto.apache.rocketmq.v2.SystemProperties.prototype.setPriority = function(value) {
|
|
3797
|
+
return jspb.Message.setField(this, 22, value);
|
|
3798
|
+
};
|
|
3799
|
+
|
|
3800
|
+
|
|
3801
|
+
/**
|
|
3802
|
+
* Clears the field making it undefined.
|
|
3803
|
+
* @return {!proto.apache.rocketmq.v2.SystemProperties} returns this
|
|
3804
|
+
*/
|
|
3805
|
+
proto.apache.rocketmq.v2.SystemProperties.prototype.clearPriority = function() {
|
|
3806
|
+
return jspb.Message.setField(this, 22, undefined);
|
|
3807
|
+
};
|
|
3808
|
+
|
|
3809
|
+
|
|
3810
|
+
/**
|
|
3811
|
+
* Returns whether this field is set.
|
|
3812
|
+
* @return {boolean}
|
|
3813
|
+
*/
|
|
3814
|
+
proto.apache.rocketmq.v2.SystemProperties.prototype.hasPriority = function() {
|
|
3815
|
+
return jspb.Message.getField(this, 22) != null;
|
|
3816
|
+
};
|
|
3817
|
+
|
|
3818
|
+
|
|
3698
3819
|
|
|
3699
3820
|
|
|
3700
3821
|
|
|
@@ -5470,7 +5591,9 @@ proto.apache.rocketmq.v2.Subscription.toObject = function(includeInstance, msg)
|
|
|
5470
5591
|
proto.apache.rocketmq.v2.SubscriptionEntry.toObject, includeInstance),
|
|
5471
5592
|
fifo: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
5472
5593
|
receiveBatchSize: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
5473
|
-
longPollingTimeout: (f = msg.getLongPollingTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f)
|
|
5594
|
+
longPollingTimeout: (f = msg.getLongPollingTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f),
|
|
5595
|
+
liteSubscriptionQuota: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
5596
|
+
maxLiteTopicSize: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
5474
5597
|
};
|
|
5475
5598
|
|
|
5476
5599
|
if (includeInstance) {
|
|
@@ -5530,6 +5653,14 @@ proto.apache.rocketmq.v2.Subscription.deserializeBinaryFromReader = function(msg
|
|
|
5530
5653
|
reader.readMessage(value,google_protobuf_duration_pb.Duration.deserializeBinaryFromReader);
|
|
5531
5654
|
msg.setLongPollingTimeout(value);
|
|
5532
5655
|
break;
|
|
5656
|
+
case 6:
|
|
5657
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
5658
|
+
msg.setLiteSubscriptionQuota(value);
|
|
5659
|
+
break;
|
|
5660
|
+
case 7:
|
|
5661
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
5662
|
+
msg.setMaxLiteTopicSize(value);
|
|
5663
|
+
break;
|
|
5533
5664
|
default:
|
|
5534
5665
|
reader.skipField();
|
|
5535
5666
|
break;
|
|
@@ -5597,6 +5728,20 @@ proto.apache.rocketmq.v2.Subscription.serializeBinaryToWriter = function(message
|
|
|
5597
5728
|
google_protobuf_duration_pb.Duration.serializeBinaryToWriter
|
|
5598
5729
|
);
|
|
5599
5730
|
}
|
|
5731
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
|
5732
|
+
if (f != null) {
|
|
5733
|
+
writer.writeInt32(
|
|
5734
|
+
6,
|
|
5735
|
+
f
|
|
5736
|
+
);
|
|
5737
|
+
}
|
|
5738
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
|
5739
|
+
if (f != null) {
|
|
5740
|
+
writer.writeInt32(
|
|
5741
|
+
7,
|
|
5742
|
+
f
|
|
5743
|
+
);
|
|
5744
|
+
}
|
|
5600
5745
|
};
|
|
5601
5746
|
|
|
5602
5747
|
|
|
@@ -5784,6 +5929,78 @@ proto.apache.rocketmq.v2.Subscription.prototype.hasLongPollingTimeout = function
|
|
|
5784
5929
|
};
|
|
5785
5930
|
|
|
5786
5931
|
|
|
5932
|
+
/**
|
|
5933
|
+
* optional int32 lite_subscription_quota = 6;
|
|
5934
|
+
* @return {number}
|
|
5935
|
+
*/
|
|
5936
|
+
proto.apache.rocketmq.v2.Subscription.prototype.getLiteSubscriptionQuota = function() {
|
|
5937
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
5938
|
+
};
|
|
5939
|
+
|
|
5940
|
+
|
|
5941
|
+
/**
|
|
5942
|
+
* @param {number} value
|
|
5943
|
+
* @return {!proto.apache.rocketmq.v2.Subscription} returns this
|
|
5944
|
+
*/
|
|
5945
|
+
proto.apache.rocketmq.v2.Subscription.prototype.setLiteSubscriptionQuota = function(value) {
|
|
5946
|
+
return jspb.Message.setField(this, 6, value);
|
|
5947
|
+
};
|
|
5948
|
+
|
|
5949
|
+
|
|
5950
|
+
/**
|
|
5951
|
+
* Clears the field making it undefined.
|
|
5952
|
+
* @return {!proto.apache.rocketmq.v2.Subscription} returns this
|
|
5953
|
+
*/
|
|
5954
|
+
proto.apache.rocketmq.v2.Subscription.prototype.clearLiteSubscriptionQuota = function() {
|
|
5955
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
5956
|
+
};
|
|
5957
|
+
|
|
5958
|
+
|
|
5959
|
+
/**
|
|
5960
|
+
* Returns whether this field is set.
|
|
5961
|
+
* @return {boolean}
|
|
5962
|
+
*/
|
|
5963
|
+
proto.apache.rocketmq.v2.Subscription.prototype.hasLiteSubscriptionQuota = function() {
|
|
5964
|
+
return jspb.Message.getField(this, 6) != null;
|
|
5965
|
+
};
|
|
5966
|
+
|
|
5967
|
+
|
|
5968
|
+
/**
|
|
5969
|
+
* optional int32 max_lite_topic_size = 7;
|
|
5970
|
+
* @return {number}
|
|
5971
|
+
*/
|
|
5972
|
+
proto.apache.rocketmq.v2.Subscription.prototype.getMaxLiteTopicSize = function() {
|
|
5973
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
5974
|
+
};
|
|
5975
|
+
|
|
5976
|
+
|
|
5977
|
+
/**
|
|
5978
|
+
* @param {number} value
|
|
5979
|
+
* @return {!proto.apache.rocketmq.v2.Subscription} returns this
|
|
5980
|
+
*/
|
|
5981
|
+
proto.apache.rocketmq.v2.Subscription.prototype.setMaxLiteTopicSize = function(value) {
|
|
5982
|
+
return jspb.Message.setField(this, 7, value);
|
|
5983
|
+
};
|
|
5984
|
+
|
|
5985
|
+
|
|
5986
|
+
/**
|
|
5987
|
+
* Clears the field making it undefined.
|
|
5988
|
+
* @return {!proto.apache.rocketmq.v2.Subscription} returns this
|
|
5989
|
+
*/
|
|
5990
|
+
proto.apache.rocketmq.v2.Subscription.prototype.clearMaxLiteTopicSize = function() {
|
|
5991
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
5992
|
+
};
|
|
5993
|
+
|
|
5994
|
+
|
|
5995
|
+
/**
|
|
5996
|
+
* Returns whether this field is set.
|
|
5997
|
+
* @return {boolean}
|
|
5998
|
+
*/
|
|
5999
|
+
proto.apache.rocketmq.v2.Subscription.prototype.hasMaxLiteTopicSize = function() {
|
|
6000
|
+
return jspb.Message.getField(this, 7) != null;
|
|
6001
|
+
};
|
|
6002
|
+
|
|
6003
|
+
|
|
5787
6004
|
|
|
5788
6005
|
|
|
5789
6006
|
|
|
@@ -5965,6 +6182,335 @@ proto.apache.rocketmq.v2.Metric.prototype.hasEndpoints = function() {
|
|
|
5965
6182
|
};
|
|
5966
6183
|
|
|
5967
6184
|
|
|
6185
|
+
|
|
6186
|
+
/**
|
|
6187
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
6188
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
6189
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
6190
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
6191
|
+
* @private {!Array<!Array<number>>}
|
|
6192
|
+
* @const
|
|
6193
|
+
*/
|
|
6194
|
+
proto.apache.rocketmq.v2.OffsetOption.oneofGroups_ = [[1,2,3,4]];
|
|
6195
|
+
|
|
6196
|
+
/**
|
|
6197
|
+
* @enum {number}
|
|
6198
|
+
*/
|
|
6199
|
+
proto.apache.rocketmq.v2.OffsetOption.OffsetTypeCase = {
|
|
6200
|
+
OFFSET_TYPE_NOT_SET: 0,
|
|
6201
|
+
POLICY: 1,
|
|
6202
|
+
OFFSET: 2,
|
|
6203
|
+
TAIL_N: 3,
|
|
6204
|
+
TIMESTAMP: 4
|
|
6205
|
+
};
|
|
6206
|
+
|
|
6207
|
+
/**
|
|
6208
|
+
* @return {proto.apache.rocketmq.v2.OffsetOption.OffsetTypeCase}
|
|
6209
|
+
*/
|
|
6210
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.getOffsetTypeCase = function() {
|
|
6211
|
+
return /** @type {proto.apache.rocketmq.v2.OffsetOption.OffsetTypeCase} */(jspb.Message.computeOneofCase(this, proto.apache.rocketmq.v2.OffsetOption.oneofGroups_[0]));
|
|
6212
|
+
};
|
|
6213
|
+
|
|
6214
|
+
|
|
6215
|
+
|
|
6216
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6217
|
+
/**
|
|
6218
|
+
* Creates an object representation of this proto.
|
|
6219
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6220
|
+
* Optional fields that are not set will be set to undefined.
|
|
6221
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6222
|
+
* For the list of reserved names please see:
|
|
6223
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6224
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6225
|
+
* JSPB instance for transitional soy proto support:
|
|
6226
|
+
* http://goto/soy-param-migration
|
|
6227
|
+
* @return {!Object}
|
|
6228
|
+
*/
|
|
6229
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.toObject = function(opt_includeInstance) {
|
|
6230
|
+
return proto.apache.rocketmq.v2.OffsetOption.toObject(opt_includeInstance, this);
|
|
6231
|
+
};
|
|
6232
|
+
|
|
6233
|
+
|
|
6234
|
+
/**
|
|
6235
|
+
* Static version of the {@see toObject} method.
|
|
6236
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6237
|
+
* the JSPB instance for transitional soy proto support:
|
|
6238
|
+
* http://goto/soy-param-migration
|
|
6239
|
+
* @param {!proto.apache.rocketmq.v2.OffsetOption} msg The msg instance to transform.
|
|
6240
|
+
* @return {!Object}
|
|
6241
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6242
|
+
*/
|
|
6243
|
+
proto.apache.rocketmq.v2.OffsetOption.toObject = function(includeInstance, msg) {
|
|
6244
|
+
var f, obj = {
|
|
6245
|
+
policy: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
6246
|
+
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
6247
|
+
tailN: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
6248
|
+
timestamp: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
6249
|
+
};
|
|
6250
|
+
|
|
6251
|
+
if (includeInstance) {
|
|
6252
|
+
obj.$jspbMessageInstance = msg;
|
|
6253
|
+
}
|
|
6254
|
+
return obj;
|
|
6255
|
+
};
|
|
6256
|
+
}
|
|
6257
|
+
|
|
6258
|
+
|
|
6259
|
+
/**
|
|
6260
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6261
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6262
|
+
* @return {!proto.apache.rocketmq.v2.OffsetOption}
|
|
6263
|
+
*/
|
|
6264
|
+
proto.apache.rocketmq.v2.OffsetOption.deserializeBinary = function(bytes) {
|
|
6265
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6266
|
+
var msg = new proto.apache.rocketmq.v2.OffsetOption;
|
|
6267
|
+
return proto.apache.rocketmq.v2.OffsetOption.deserializeBinaryFromReader(msg, reader);
|
|
6268
|
+
};
|
|
6269
|
+
|
|
6270
|
+
|
|
6271
|
+
/**
|
|
6272
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6273
|
+
* given reader into the given message object.
|
|
6274
|
+
* @param {!proto.apache.rocketmq.v2.OffsetOption} msg The message object to deserialize into.
|
|
6275
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6276
|
+
* @return {!proto.apache.rocketmq.v2.OffsetOption}
|
|
6277
|
+
*/
|
|
6278
|
+
proto.apache.rocketmq.v2.OffsetOption.deserializeBinaryFromReader = function(msg, reader) {
|
|
6279
|
+
while (reader.nextField()) {
|
|
6280
|
+
if (reader.isEndGroup()) {
|
|
6281
|
+
break;
|
|
6282
|
+
}
|
|
6283
|
+
var field = reader.getFieldNumber();
|
|
6284
|
+
switch (field) {
|
|
6285
|
+
case 1:
|
|
6286
|
+
var value = /** @type {!proto.apache.rocketmq.v2.OffsetOption.Policy} */ (reader.readEnum());
|
|
6287
|
+
msg.setPolicy(value);
|
|
6288
|
+
break;
|
|
6289
|
+
case 2:
|
|
6290
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6291
|
+
msg.setOffset(value);
|
|
6292
|
+
break;
|
|
6293
|
+
case 3:
|
|
6294
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6295
|
+
msg.setTailN(value);
|
|
6296
|
+
break;
|
|
6297
|
+
case 4:
|
|
6298
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6299
|
+
msg.setTimestamp(value);
|
|
6300
|
+
break;
|
|
6301
|
+
default:
|
|
6302
|
+
reader.skipField();
|
|
6303
|
+
break;
|
|
6304
|
+
}
|
|
6305
|
+
}
|
|
6306
|
+
return msg;
|
|
6307
|
+
};
|
|
6308
|
+
|
|
6309
|
+
|
|
6310
|
+
/**
|
|
6311
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6312
|
+
* @return {!Uint8Array}
|
|
6313
|
+
*/
|
|
6314
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.serializeBinary = function() {
|
|
6315
|
+
var writer = new jspb.BinaryWriter();
|
|
6316
|
+
proto.apache.rocketmq.v2.OffsetOption.serializeBinaryToWriter(this, writer);
|
|
6317
|
+
return writer.getResultBuffer();
|
|
6318
|
+
};
|
|
6319
|
+
|
|
6320
|
+
|
|
6321
|
+
/**
|
|
6322
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6323
|
+
* format), writing to the given BinaryWriter.
|
|
6324
|
+
* @param {!proto.apache.rocketmq.v2.OffsetOption} message
|
|
6325
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6326
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6327
|
+
*/
|
|
6328
|
+
proto.apache.rocketmq.v2.OffsetOption.serializeBinaryToWriter = function(message, writer) {
|
|
6329
|
+
var f = undefined;
|
|
6330
|
+
f = /** @type {!proto.apache.rocketmq.v2.OffsetOption.Policy} */ (jspb.Message.getField(message, 1));
|
|
6331
|
+
if (f != null) {
|
|
6332
|
+
writer.writeEnum(
|
|
6333
|
+
1,
|
|
6334
|
+
f
|
|
6335
|
+
);
|
|
6336
|
+
}
|
|
6337
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
6338
|
+
if (f != null) {
|
|
6339
|
+
writer.writeInt64(
|
|
6340
|
+
2,
|
|
6341
|
+
f
|
|
6342
|
+
);
|
|
6343
|
+
}
|
|
6344
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
6345
|
+
if (f != null) {
|
|
6346
|
+
writer.writeInt64(
|
|
6347
|
+
3,
|
|
6348
|
+
f
|
|
6349
|
+
);
|
|
6350
|
+
}
|
|
6351
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
6352
|
+
if (f != null) {
|
|
6353
|
+
writer.writeInt64(
|
|
6354
|
+
4,
|
|
6355
|
+
f
|
|
6356
|
+
);
|
|
6357
|
+
}
|
|
6358
|
+
};
|
|
6359
|
+
|
|
6360
|
+
|
|
6361
|
+
/**
|
|
6362
|
+
* @enum {number}
|
|
6363
|
+
*/
|
|
6364
|
+
proto.apache.rocketmq.v2.OffsetOption.Policy = {
|
|
6365
|
+
LAST: 0,
|
|
6366
|
+
MIN: 1,
|
|
6367
|
+
MAX: 2
|
|
6368
|
+
};
|
|
6369
|
+
|
|
6370
|
+
/**
|
|
6371
|
+
* optional Policy policy = 1;
|
|
6372
|
+
* @return {!proto.apache.rocketmq.v2.OffsetOption.Policy}
|
|
6373
|
+
*/
|
|
6374
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.getPolicy = function() {
|
|
6375
|
+
return /** @type {!proto.apache.rocketmq.v2.OffsetOption.Policy} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
6376
|
+
};
|
|
6377
|
+
|
|
6378
|
+
|
|
6379
|
+
/**
|
|
6380
|
+
* @param {!proto.apache.rocketmq.v2.OffsetOption.Policy} value
|
|
6381
|
+
* @return {!proto.apache.rocketmq.v2.OffsetOption} returns this
|
|
6382
|
+
*/
|
|
6383
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.setPolicy = function(value) {
|
|
6384
|
+
return jspb.Message.setOneofField(this, 1, proto.apache.rocketmq.v2.OffsetOption.oneofGroups_[0], value);
|
|
6385
|
+
};
|
|
6386
|
+
|
|
6387
|
+
|
|
6388
|
+
/**
|
|
6389
|
+
* Clears the field making it undefined.
|
|
6390
|
+
* @return {!proto.apache.rocketmq.v2.OffsetOption} returns this
|
|
6391
|
+
*/
|
|
6392
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.clearPolicy = function() {
|
|
6393
|
+
return jspb.Message.setOneofField(this, 1, proto.apache.rocketmq.v2.OffsetOption.oneofGroups_[0], undefined);
|
|
6394
|
+
};
|
|
6395
|
+
|
|
6396
|
+
|
|
6397
|
+
/**
|
|
6398
|
+
* Returns whether this field is set.
|
|
6399
|
+
* @return {boolean}
|
|
6400
|
+
*/
|
|
6401
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.hasPolicy = function() {
|
|
6402
|
+
return jspb.Message.getField(this, 1) != null;
|
|
6403
|
+
};
|
|
6404
|
+
|
|
6405
|
+
|
|
6406
|
+
/**
|
|
6407
|
+
* optional int64 offset = 2;
|
|
6408
|
+
* @return {number}
|
|
6409
|
+
*/
|
|
6410
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.getOffset = function() {
|
|
6411
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
6412
|
+
};
|
|
6413
|
+
|
|
6414
|
+
|
|
6415
|
+
/**
|
|
6416
|
+
* @param {number} value
|
|
6417
|
+
* @return {!proto.apache.rocketmq.v2.OffsetOption} returns this
|
|
6418
|
+
*/
|
|
6419
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.setOffset = function(value) {
|
|
6420
|
+
return jspb.Message.setOneofField(this, 2, proto.apache.rocketmq.v2.OffsetOption.oneofGroups_[0], value);
|
|
6421
|
+
};
|
|
6422
|
+
|
|
6423
|
+
|
|
6424
|
+
/**
|
|
6425
|
+
* Clears the field making it undefined.
|
|
6426
|
+
* @return {!proto.apache.rocketmq.v2.OffsetOption} returns this
|
|
6427
|
+
*/
|
|
6428
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.clearOffset = function() {
|
|
6429
|
+
return jspb.Message.setOneofField(this, 2, proto.apache.rocketmq.v2.OffsetOption.oneofGroups_[0], undefined);
|
|
6430
|
+
};
|
|
6431
|
+
|
|
6432
|
+
|
|
6433
|
+
/**
|
|
6434
|
+
* Returns whether this field is set.
|
|
6435
|
+
* @return {boolean}
|
|
6436
|
+
*/
|
|
6437
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.hasOffset = function() {
|
|
6438
|
+
return jspb.Message.getField(this, 2) != null;
|
|
6439
|
+
};
|
|
6440
|
+
|
|
6441
|
+
|
|
6442
|
+
/**
|
|
6443
|
+
* optional int64 tail_n = 3;
|
|
6444
|
+
* @return {number}
|
|
6445
|
+
*/
|
|
6446
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.getTailN = function() {
|
|
6447
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
6448
|
+
};
|
|
6449
|
+
|
|
6450
|
+
|
|
6451
|
+
/**
|
|
6452
|
+
* @param {number} value
|
|
6453
|
+
* @return {!proto.apache.rocketmq.v2.OffsetOption} returns this
|
|
6454
|
+
*/
|
|
6455
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.setTailN = function(value) {
|
|
6456
|
+
return jspb.Message.setOneofField(this, 3, proto.apache.rocketmq.v2.OffsetOption.oneofGroups_[0], value);
|
|
6457
|
+
};
|
|
6458
|
+
|
|
6459
|
+
|
|
6460
|
+
/**
|
|
6461
|
+
* Clears the field making it undefined.
|
|
6462
|
+
* @return {!proto.apache.rocketmq.v2.OffsetOption} returns this
|
|
6463
|
+
*/
|
|
6464
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.clearTailN = function() {
|
|
6465
|
+
return jspb.Message.setOneofField(this, 3, proto.apache.rocketmq.v2.OffsetOption.oneofGroups_[0], undefined);
|
|
6466
|
+
};
|
|
6467
|
+
|
|
6468
|
+
|
|
6469
|
+
/**
|
|
6470
|
+
* Returns whether this field is set.
|
|
6471
|
+
* @return {boolean}
|
|
6472
|
+
*/
|
|
6473
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.hasTailN = function() {
|
|
6474
|
+
return jspb.Message.getField(this, 3) != null;
|
|
6475
|
+
};
|
|
6476
|
+
|
|
6477
|
+
|
|
6478
|
+
/**
|
|
6479
|
+
* optional int64 timestamp = 4;
|
|
6480
|
+
* @return {number}
|
|
6481
|
+
*/
|
|
6482
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.getTimestamp = function() {
|
|
6483
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
6484
|
+
};
|
|
6485
|
+
|
|
6486
|
+
|
|
6487
|
+
/**
|
|
6488
|
+
* @param {number} value
|
|
6489
|
+
* @return {!proto.apache.rocketmq.v2.OffsetOption} returns this
|
|
6490
|
+
*/
|
|
6491
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.setTimestamp = function(value) {
|
|
6492
|
+
return jspb.Message.setOneofField(this, 4, proto.apache.rocketmq.v2.OffsetOption.oneofGroups_[0], value);
|
|
6493
|
+
};
|
|
6494
|
+
|
|
6495
|
+
|
|
6496
|
+
/**
|
|
6497
|
+
* Clears the field making it undefined.
|
|
6498
|
+
* @return {!proto.apache.rocketmq.v2.OffsetOption} returns this
|
|
6499
|
+
*/
|
|
6500
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.clearTimestamp = function() {
|
|
6501
|
+
return jspb.Message.setOneofField(this, 4, proto.apache.rocketmq.v2.OffsetOption.oneofGroups_[0], undefined);
|
|
6502
|
+
};
|
|
6503
|
+
|
|
6504
|
+
|
|
6505
|
+
/**
|
|
6506
|
+
* Returns whether this field is set.
|
|
6507
|
+
* @return {boolean}
|
|
6508
|
+
*/
|
|
6509
|
+
proto.apache.rocketmq.v2.OffsetOption.prototype.hasTimestamp = function() {
|
|
6510
|
+
return jspb.Message.getField(this, 4) != null;
|
|
6511
|
+
};
|
|
6512
|
+
|
|
6513
|
+
|
|
5968
6514
|
/**
|
|
5969
6515
|
* @enum {number}
|
|
5970
6516
|
*/
|
|
@@ -6021,7 +6567,9 @@ proto.apache.rocketmq.v2.MessageType = {
|
|
|
6021
6567
|
NORMAL: 1,
|
|
6022
6568
|
FIFO: 2,
|
|
6023
6569
|
DELAY: 3,
|
|
6024
|
-
TRANSACTION: 4
|
|
6570
|
+
TRANSACTION: 4,
|
|
6571
|
+
LITE: 5,
|
|
6572
|
+
PRIORITY: 6
|
|
6025
6573
|
};
|
|
6026
6574
|
|
|
6027
6575
|
/**
|
|
@@ -6042,7 +6590,9 @@ proto.apache.rocketmq.v2.ClientType = {
|
|
|
6042
6590
|
PRODUCER: 1,
|
|
6043
6591
|
PUSH_CONSUMER: 2,
|
|
6044
6592
|
SIMPLE_CONSUMER: 3,
|
|
6045
|
-
PULL_CONSUMER: 4
|
|
6593
|
+
PULL_CONSUMER: 4,
|
|
6594
|
+
LITE_PUSH_CONSUMER: 5,
|
|
6595
|
+
LITE_SIMPLE_CONSUMER: 6
|
|
6046
6596
|
};
|
|
6047
6597
|
|
|
6048
6598
|
/**
|
|
@@ -6080,6 +6630,8 @@ proto.apache.rocketmq.v2.Code = {
|
|
|
6080
6630
|
MESSAGE_CORRUPTED: 40016,
|
|
6081
6631
|
CLIENT_ID_REQUIRED: 40017,
|
|
6082
6632
|
ILLEGAL_POLLING_TIME: 40018,
|
|
6633
|
+
ILLEGAL_OFFSET: 40019,
|
|
6634
|
+
ILLEGAL_LITE_TOPIC: 40020,
|
|
6083
6635
|
UNAUTHORIZED: 40100,
|
|
6084
6636
|
PAYMENT_REQUIRED: 40200,
|
|
6085
6637
|
FORBIDDEN: 40300,
|
|
@@ -6087,11 +6639,15 @@ proto.apache.rocketmq.v2.Code = {
|
|
|
6087
6639
|
MESSAGE_NOT_FOUND: 40401,
|
|
6088
6640
|
TOPIC_NOT_FOUND: 40402,
|
|
6089
6641
|
CONSUMER_GROUP_NOT_FOUND: 40403,
|
|
6642
|
+
OFFSET_NOT_FOUND: 40404,
|
|
6090
6643
|
REQUEST_TIMEOUT: 40800,
|
|
6091
6644
|
PAYLOAD_TOO_LARGE: 41300,
|
|
6092
6645
|
MESSAGE_BODY_TOO_LARGE: 41301,
|
|
6646
|
+
MESSAGE_BODY_EMPTY: 41302,
|
|
6093
6647
|
PRECONDITION_FAILED: 42800,
|
|
6094
6648
|
TOO_MANY_REQUESTS: 42900,
|
|
6649
|
+
LITE_TOPIC_QUOTA_EXCEEDED: 42901,
|
|
6650
|
+
LITE_SUBSCRIPTION_QUOTA_EXCEEDED: 42902,
|
|
6095
6651
|
REQUEST_HEADER_FIELDS_TOO_LARGE: 43100,
|
|
6096
6652
|
MESSAGE_PROPERTIES_TOO_LARGE: 43101,
|
|
6097
6653
|
INTERNAL_ERROR: 50000,
|
|
@@ -6126,6 +6682,16 @@ proto.apache.rocketmq.v2.Language = {
|
|
|
6126
6682
|
KOTLIN: 12
|
|
6127
6683
|
};
|
|
6128
6684
|
|
|
6685
|
+
/**
|
|
6686
|
+
* @enum {number}
|
|
6687
|
+
*/
|
|
6688
|
+
proto.apache.rocketmq.v2.LiteSubscriptionAction = {
|
|
6689
|
+
PARTIAL_ADD: 0,
|
|
6690
|
+
PARTIAL_REMOVE: 1,
|
|
6691
|
+
COMPLETE_ADD: 2,
|
|
6692
|
+
COMPLETE_REMOVE: 3
|
|
6693
|
+
};
|
|
6694
|
+
|
|
6129
6695
|
/**
|
|
6130
6696
|
* @enum {number}
|
|
6131
6697
|
*/
|