Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscription filter subject #560

Merged
merged 8 commits into from
Nov 13, 2021
Merged

Subscription filter subject #560

merged 8 commits into from
Nov 13, 2021

Conversation

scottf
Copy link
Contributor

@scottf scottf commented Nov 9, 2021

No description provided.

* server such as timeout or interruption
* @throws JetStreamApiException the request had an error related to the data
*/
JetStreamSubscription bindSubscribePushSync(String stream, String durable) throws IOException, JetStreamApiException;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this have parity with go?

@@ -330,6 +302,34 @@ public boolean getHeadersOnly() {
return headersOnly != null && headersOnly;
}

public boolean wouldBeChangeTo(ConsumerConfiguration original) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be made internal?

@@ -745,7 +745,7 @@ public String toString() {
this.server = server;
}

long initial() {
public long initial() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

internal?

Copy link
Member

@ColinSullivan1 ColinSullivan1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after the new APIs are made internal, or if intended to be public they need to be Camel Cased and documented.

@scottf scottf merged commit 5698d20 into main Nov 13, 2021
@scottf scottf deleted the subscription-filter-subject branch November 13, 2021 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants