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

[client] Change the default value of maxLookupRedirects of Java client #7126

Merged
merged 1 commit into from
Jun 1, 2020

Conversation

massakam
Copy link
Contributor

@massakam massakam commented Jun 1, 2020

Master Issue: #7041

I limited the number of times a lookup request was redirected in #7096 and set the default value to 100. However, the maximum value for C++ and Go libraries is 20, so change the default value for Java library to 20 as well.

const static int MAX_HTTP_REDIRECTS = 20;

https://github.com/apache/pulsar-client-go/blob/6e5c7d340f7d0d53026ba228379a0a68e06342dd/pulsar/internal/lookup_service.go#L81-L82

@massakam massakam added this to the 2.6.0 milestone Jun 1, 2020
@massakam massakam self-assigned this Jun 1, 2020
@merlimat merlimat merged commit db5cb32 into apache:master Jun 1, 2020
@massakam massakam deleted the too-many-redirects branch June 1, 2020 18:12
Huanli-Meng pushed a commit to Huanli-Meng/pulsar that referenced this pull request Jun 12, 2020
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants