spring-projects / spring-projects/spring-boot

Provide configuration property for the refresh policy of ReactiveElasticsearchTemplate

Open
#30,379 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: pending-design-work type: enhancement
Dominant language
Java
Stars
81.5k
Forks
42.7k
Avg merge
2d 4h
Merged PRs (30d)
65

Description

See #30096 and #30378 for background. To make it easier for users to configure the refresh policy and indices options of the auto-configured ReactiveElasticsearchTemplate, it would be good to provide configuration properties for those two settings.

There's no existing @ConfigurationProperties class to which these new properties could be added so we'll need to consider where we want the properties to go. The only Data Elasticsearch property that we have at the moment is spring.data.elasticsearch.repositories.enabled. The new properties should probably go beneath spring.data.elasticsearch.template.reactive or spring.data.elasticsearch.reactive.template.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read #30096 and #30378 first, then locate the auto-configured ReactiveElasticsearchTemplate configuration and the existing spring.data.elasticsearch.repositories.enabled property. Decide where the new configuration properties belong, expose refresh policy and indices options there, and verify that both settings configure the reactive template.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, java, spring-boot
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.