Client client = new HedwigClient(new ClientConfiguration());
Publisher pub = client.getPublisher();
Subscriber sub = client.getSubscriber();
SubscriptionOptions options5 = SubscriptionOptions.newBuilder()
.setCreateOrAttach(CreateOrAttach.CREATE).setMessageBound(5).build();
SubscriptionOptions options20 = SubscriptionOptions.newBuilder()
.setCreateOrAttach(CreateOrAttach.CREATE).setMessageBound(20).build();
SubscriptionOptions optionsUnbounded = SubscriptionOptions.newBuilder()
.setCreateOrAttach(CreateOrAttach.CREATE).build();
ByteString subid5 = ByteString.copyFromUtf8("bound5SubId");
ByteString subid20 = ByteString.copyFromUtf8("bound20SubId");
ByteString subidUnbounded = ByteString.copyFromUtf8("noboundSubId");