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

BucketsAPI::findBuckets() is limited to 20 by default #603

Open
jcb-entrnce opened this issue Jul 11, 2023 · 1 comment
Open

BucketsAPI::findBuckets() is limited to 20 by default #603

jcb-entrnce opened this issue Jul 11, 2023 · 1 comment
Labels
wontfix This will not be worked on

Comments

@jcb-entrnce
Copy link

jcb-entrnce commented Jul 11, 2023

Steps to reproduce:
List the minimal actions needed to reproduce the behavior.

  1. have an influxdb2 instance with more than 20 buckets
  2. call BucketsApi::findBuckets()

Expected behavior:
The API returns all buckets

Actual behavior:
The API returns at most 20 buckets

Specifications:

  • Client Version: com.influxdb:influxdb-client-java:6.9.0
  • InfluxDB Version: 2.7
  • JDK Version: Eclipse Adoptium jdk-17.0.6.10-hotspot
  • Platform: docker / alpine-linux
@bednar
Copy link
Contributor

bednar commented Jul 11, 2023

Hi @jcb-entrnce,

thanks for using our client.

You have to use: List<Bucket> findBuckets(@Nonnull final BucketsQuery query) and set proper limit to BucketsQuery.

Regards

@bednar bednar added the wontfix This will not be worked on label Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants