Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

176
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda