Skip to content

Read Preference TagSet Support [DATAMONGO-1428] #2339

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
spring-projects-issues opened this issue Apr 29, 2016 · 1 comment
Closed

Read Preference TagSet Support [DATAMONGO-1428] #2339

spring-projects-issues opened this issue Apr 29, 2016 · 1 comment
Assignees
Labels
in: core Issues in core support type: enhancement A general enhancement

Comments

@spring-projects-issues
Copy link

George Cao opened DATAMONGO-1428 and commented

Right now, spring-data-mongodb does not support read preference with a tag set list. The mongo-client-options only support the built-in read preference.

For example, mongo-java-driver 3.0.2 ReadPreference has a static method to support read preference with tag sets.

public static TaggableReadPreference secondary(final List<TagSet> tagSetList) {
    return new TaggableReadPreference.SecondaryReadPreference(tagSetList);
}

Affects: 1.8.4 (Gosling SR4), 1.9.1 (Hopper SR1)

@spring-projects-issues spring-projects-issues added type: enhancement A general enhancement in: core Issues in core support labels Dec 30, 2020
@christophstrobl
Copy link
Member

while we do not intend to extend the xml namespace to support this #4288 allows manual configuration of the ReadPreference.

@christophstrobl christophstrobl closed this as not planned Won't fix, can't repro, duplicate, stale Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core support type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants