Skip to content

Allow RedisConnectionFactories to be initialized as part of the context lifecycle #2868

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

Closed
wants to merge 2 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Mar 13, 2024

Lettuce and Jedis connection factories now can be configured to initialize early during afterPropertiesSet or configured whether the component should be auto-started by the container.

By default, connection factories auto-startup early.

Closes #2866

@mp911de mp911de added the type: enhancement A general enhancement label Mar 13, 2024
@mp911de mp911de requested a review from christophstrobl March 13, 2024 14:05
…xt lifecycle.

Lettuce and Jedis connection factories now can be configured to initialize early during afterPropertiesSet or configured whether the component should be auto-started by the container.

By default, connection factories auto-startup early.

Closes #2866
@christophstrobl
Copy link
Member

while trying to add a section about startup/lifecycle considerations for connection factories to the reference documentation I was wondering if setting autoStartup to false without also disabling earlyStartup does make that much sense?

christophstrobl pushed a commit that referenced this pull request Apr 11, 2024
…xt lifecycle.

Lettuce and Jedis connection factories now can be configured to initialize early during afterPropertiesSet or configured whether the component should be auto-started by the container.

By default, connection factories auto-startup early.

Closes #2866
Original Pull Request: #2868
@christophstrobl christophstrobl deleted the issue/2866 branch April 11, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow RedisConnectionFactories to be initialized as part of the context lifecycle
2 participants