// throttle with a lower value than hub server's setting
SubscriptionOptions.Builder optionsBuilder = SubscriptionOptions.newBuilder()
.setCreateOrAttach(CreateOrAttach.CREATE)
.setMessageWindowSize(messageWindowSize);
topic = ByteString.copyFromUtf8("testServerSideThrottleWithLowerValue");
sub.subscribe(topic, subid, optionsBuilder.build());
sub.closeSubscription(topic, subid);
throttleX(pub, sub, topic, subid, messageWindowSize);
messageWindowSize = DEFAULT_MESSAGE_WINDOW_SIZE + 5;
// throttle with a higher value than hub server's setting