Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

175
Vistas
Cosmosdb spring boot sdk setting x-ms-max-item-count

How can I set x-ms-max-item-count from java sdk?

is there an option to set page size to retrieve documents? currently it is limited to 100, i would like to increase it to 1000? how can i do it through the java SDK?

I am using ReactiveCosmosTemplate and have a bean of CosmosClientBuilder that I configure connection and consistency level.

But I cant find the max-item-count for a query. 100 batches is very small for me, I need to increase it. How can I do that?

I couldnt find it anywhere.

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

x-ms-max-item-count cannot be directly set but can only be set using CosmosPagedFluX#byPage API in the java V4 SDK.

In non-reactive spring repository this can be set using the “pageSize” in CosmosPageRequest object. Please review the Pagination section in this blog post

In reactive spring repository there is no way of setting "x-ms-max-item-count.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda